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