kotlin-stdlib / kotlin.sequences / contains contains Common JVM JS Native 1.0 operator fun < T > Sequence < T > . contains ( element : T ) : Boolean (source) Returns true if element is found in the sequence. The operation is terminal .