kotlin-stdlib / kotlin.collections / Collection / contains contains Common JVM JS Native 1.0 abstract operator fun contains( element: @UnsafeVariance E): Boolean Checks if the specified element is contained in this collection.