contains

Common
1.0
fun contains(element: @UnsafeVariance E): Boolean
JS
1.1
open operator fun contains(element: E): Boolean
Native
1.3
fun contains(element: E): Boolean

Checks if the specified element is contained in this collection.