contains

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

Checks if the specified element is contained in this collection.

Since Kotlin

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

Checks if the specified element is contained in this collection.

Since Kotlin

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

Checks if the specified element is contained in this collection.

Since Kotlin

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

Checks if the specified element is contained in this collection.

Since Kotlin

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

Checks if the specified element is contained in this collection.

Since Kotlin

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

Checks if the specified element is contained in this collection.

Since Kotlin

1.8