contains
operator fun IntRange.contains(element: Int?): Boolean
operator fun LongRange.contains(element: Long?): Boolean
operator fun CharRange.contains(element: Char?): Boolean
@ExperimentalUnsignedTypes operator fun ULongRange.contains(
element: ULong?
): Boolean
@JvmName("intRangeContains") operator fun ClosedRange<Int>.contains(
value: Byte
): Boolean
@JvmName("longRangeContains") operator fun ClosedRange<Long>.contains(
value: Byte
): Boolean
@JvmName("shortRangeContains") operator fun ClosedRange<Short>.contains(
value: Byte
): Boolean
@JvmName("doubleRangeContains") operator fun ClosedRange<Double>.contains(
value: Byte
): Boolean
@JvmName("floatRangeContains") operator fun ClosedRange<Float>.contains(
value: Byte
): Boolean
@JvmName("intRangeContains") operator fun ClosedRange<Int>.contains(
value: Double
): Boolean
@JvmName("longRangeContains") operator fun ClosedRange<Long>.contains(
value: Double
): Boolean
@JvmName("byteRangeContains") operator fun ClosedRange<Byte>.contains(
value: Double
): Boolean
@JvmName("shortRangeContains") operator fun ClosedRange<Short>.contains(
value: Double
): Boolean
@JvmName("floatRangeContains") operator fun ClosedRange<Float>.contains(
value: Double
): Boolean
@JvmName("intRangeContains") operator fun ClosedRange<Int>.contains(
value: Float
): Boolean
@JvmName("longRangeContains") operator fun ClosedRange<Long>.contains(
value: Float
): Boolean
@JvmName("byteRangeContains") operator fun ClosedRange<Byte>.contains(
value: Float
): Boolean
@JvmName("shortRangeContains") operator fun ClosedRange<Short>.contains(
value: Float
): Boolean
@JvmName("doubleRangeContains") operator fun ClosedRange<Double>.contains(
value: Float
): Boolean
@JvmName("longRangeContains") operator fun ClosedRange<Long>.contains(
value: Int
): Boolean
@JvmName("byteRangeContains") operator fun ClosedRange<Byte>.contains(
value: Int
): Boolean
@JvmName("shortRangeContains") operator fun ClosedRange<Short>.contains(
value: Int
): Boolean
@JvmName("doubleRangeContains") operator fun ClosedRange<Double>.contains(
value: Int
): Boolean
@JvmName("floatRangeContains") operator fun ClosedRange<Float>.contains(
value: Int
): Boolean
@JvmName("intRangeContains") operator fun ClosedRange<Int>.contains(
value: Long
): Boolean
@JvmName("byteRangeContains") operator fun ClosedRange<Byte>.contains(
value: Long
): Boolean
@JvmName("shortRangeContains") operator fun ClosedRange<Short>.contains(
value: Long
): Boolean
@JvmName("doubleRangeContains") operator fun ClosedRange<Double>.contains(
value: Long
): Boolean
@JvmName("floatRangeContains") operator fun ClosedRange<Float>.contains(
value: Long
): Boolean
@JvmName("intRangeContains") operator fun ClosedRange<Int>.contains(
value: Short
): Boolean
@JvmName("longRangeContains") operator fun ClosedRange<Long>.contains(
value: Short
): Boolean
@JvmName("byteRangeContains") operator fun ClosedRange<Byte>.contains(
value: Short
): Boolean
@JvmName("doubleRangeContains") operator fun ClosedRange<Double>.contains(
value: Short
): Boolean
@JvmName("floatRangeContains") operator fun ClosedRange<Float>.contains(
value: Short
): Boolean
@ExperimentalUnsignedTypes operator fun ULongRange.contains(
value: UByte
): Boolean
@ExperimentalUnsignedTypes operator fun ULongRange.contains(
value: UInt
): Boolean
@ExperimentalUnsignedTypes operator fun ULongRange.contains(
value: UShort
): Boolean
Checks if the specified value belongs to this range.
operator fun <T : Any, R> R.contains(
element: T?
): Boolean where R : Iterable<T>, R : ClosedRange<T>