contains

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

Checks if the specified element is contained in this collection.

Since Kotlin

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

Checks if the specified element is contained in this collection.

Since Kotlin

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

Checks if the specified element is contained in this collection.

Since Kotlin

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

Checks if the specified element is contained in this collection.

Since Kotlin

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

Checks if the specified element is contained in this collection.

Since Kotlin

1.8