kotlin-stdlib / kotlin.ranges / ClosedRange / contains contains Common JVM JS Native 1.0 open operator fun contains(value: T): Boolean Checks whether the specified value belongs to the range.