contains

abstract operator fun contains(element: @UnsafeVariance E): Boolean(source)

Checks if the specified element is contained in this collection.

Since Kotlin

1.0