stdlib
1.2
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Common
JS
stdlib
/
kotlin.collections
/
HashSet
/
contains
contains
Common
JS
expect
open
operator override
fun
contains
(
element
:
@
UnsafeVariance
E
)
:
Boolean
(
source
)
Checks if the specified element is contained in this collection.
Since Kotlin
1.2
actual
open
operator override
fun
contains
(
element
:
E
)
:
Boolean
(
source
)
Checks if the specified element is contained in this collection.
Since Kotlin
1.1