contains

expect open operator override fun contains(element: @UnsafeVariance E): Boolean(source)

Checks if the specified element is contained in this collection.

Since Kotlin

1.0
actual open operator override fun contains(element: E): Boolean(source)

Checks if the specified element is contained in this collection.

Since Kotlin

1.1
actual open operator override fun contains(element: E): Boolean(source)

Checks if the specified element is contained in this collection.

Since Kotlin

1.3
actual open operator override fun contains(element: E): Boolean(source)

Checks if the specified element is contained in this collection.

Since Kotlin

1.8
actual open operator override fun contains(element: E): Boolean(source)

Checks if the specified element is contained in this collection.

Since Kotlin

1.8