contains

open operator fun contains(value: T): Boolean(source)

Checks whether the specified value belongs to the range.

Since Kotlin

1.0