diff --git a/libraries/stdlib/src/generated/_Ranges.kt b/libraries/stdlib/src/generated/_Ranges.kt index 7cb1ad62e31..d4161e8870a 100644 --- a/libraries/stdlib/src/generated/_Ranges.kt +++ b/libraries/stdlib/src/generated/_Ranges.kt @@ -67,513 +67,513 @@ public fun Short.`-until`(to: Short): ShortRange { } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("intRangeContains") -public operator fun Range.contains(item: Byte): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Byte): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("intRangeContains") -public operator fun ClosedRange.contains(item: Byte): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Byte): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("longRangeContains") -public operator fun Range.contains(item: Byte): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Byte): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("longRangeContains") -public operator fun ClosedRange.contains(item: Byte): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Byte): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("shortRangeContains") -public operator fun Range.contains(item: Byte): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Byte): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("shortRangeContains") -public operator fun ClosedRange.contains(item: Byte): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Byte): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun Range.contains(item: Byte): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Byte): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun ClosedRange.contains(item: Byte): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Byte): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("floatRangeContains") -public operator fun Range.contains(item: Byte): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Byte): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("floatRangeContains") -public operator fun ClosedRange.contains(item: Byte): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Byte): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("intRangeContains") -public operator fun Range.contains(item: Double): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Double): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("intRangeContains") -public operator fun ClosedRange.contains(item: Double): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Double): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("longRangeContains") -public operator fun Range.contains(item: Double): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Double): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("longRangeContains") -public operator fun ClosedRange.contains(item: Double): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Double): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("byteRangeContains") -public operator fun Range.contains(item: Double): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Double): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("byteRangeContains") -public operator fun ClosedRange.contains(item: Double): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Double): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("shortRangeContains") -public operator fun Range.contains(item: Double): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Double): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("shortRangeContains") -public operator fun ClosedRange.contains(item: Double): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Double): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("floatRangeContains") -public operator fun Range.contains(item: Double): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Double): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("floatRangeContains") -public operator fun ClosedRange.contains(item: Double): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Double): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("intRangeContains") -public operator fun Range.contains(item: Float): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Float): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("intRangeContains") -public operator fun ClosedRange.contains(item: Float): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Float): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("longRangeContains") -public operator fun Range.contains(item: Float): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Float): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("longRangeContains") -public operator fun ClosedRange.contains(item: Float): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Float): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("byteRangeContains") -public operator fun Range.contains(item: Float): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Float): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("byteRangeContains") -public operator fun ClosedRange.contains(item: Float): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Float): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("shortRangeContains") -public operator fun Range.contains(item: Float): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Float): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("shortRangeContains") -public operator fun ClosedRange.contains(item: Float): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Float): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun Range.contains(item: Float): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Float): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun ClosedRange.contains(item: Float): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Float): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("longRangeContains") -public operator fun Range.contains(item: Int): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Int): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("longRangeContains") -public operator fun ClosedRange.contains(item: Int): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Int): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("byteRangeContains") -public operator fun Range.contains(item: Int): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Int): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("byteRangeContains") -public operator fun ClosedRange.contains(item: Int): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Int): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("shortRangeContains") -public operator fun Range.contains(item: Int): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Int): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("shortRangeContains") -public operator fun ClosedRange.contains(item: Int): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Int): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun Range.contains(item: Int): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Int): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun ClosedRange.contains(item: Int): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Int): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("floatRangeContains") -public operator fun Range.contains(item: Int): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Int): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("floatRangeContains") -public operator fun ClosedRange.contains(item: Int): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Int): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("intRangeContains") -public operator fun Range.contains(item: Long): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Long): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("intRangeContains") -public operator fun ClosedRange.contains(item: Long): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Long): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("byteRangeContains") -public operator fun Range.contains(item: Long): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Long): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("byteRangeContains") -public operator fun ClosedRange.contains(item: Long): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Long): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("shortRangeContains") -public operator fun Range.contains(item: Long): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Long): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("shortRangeContains") -public operator fun ClosedRange.contains(item: Long): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Long): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun Range.contains(item: Long): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Long): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun ClosedRange.contains(item: Long): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Long): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("floatRangeContains") -public operator fun Range.contains(item: Long): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Long): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("floatRangeContains") -public operator fun ClosedRange.contains(item: Long): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Long): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("intRangeContains") -public operator fun Range.contains(item: Short): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Short): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("intRangeContains") -public operator fun ClosedRange.contains(item: Short): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Short): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("longRangeContains") -public operator fun Range.contains(item: Short): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Short): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("longRangeContains") -public operator fun ClosedRange.contains(item: Short): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Short): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("byteRangeContains") -public operator fun Range.contains(item: Short): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Short): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("byteRangeContains") -public operator fun ClosedRange.contains(item: Short): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Short): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun Range.contains(item: Short): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Short): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("doubleRangeContains") -public operator fun ClosedRange.contains(item: Short): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Short): Boolean { + return start <= value && value <= endInclusive } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @Deprecated("Range is deprecated. Use ClosedRange instead.") @kotlin.jvm.JvmName("floatRangeContains") -public operator fun Range.contains(item: Short): Boolean { - return start <= item && item <= end +public operator fun Range.contains(value: Short): Boolean { + return start <= value && value <= end } /** - * Checks if the specified [item] belongs to this range. + * Checks if the specified [value] belongs to this range. */ @kotlin.jvm.JvmName("floatRangeContains") -public operator fun ClosedRange.contains(item: Short): Boolean { - return start <= item && item <= endInclusive +public operator fun ClosedRange.contains(value: Short): Boolean { + return start <= value && value <= endInclusive } /** diff --git a/libraries/tools/kotlin-stdlib-gen/src/templates/Ranges.kt b/libraries/tools/kotlin-stdlib-gen/src/templates/Ranges.kt index 453bc3b3e63..bf43c3247a2 100644 --- a/libraries/tools/kotlin-stdlib-gen/src/templates/Ranges.kt +++ b/libraries/tools/kotlin-stdlib-gen/src/templates/Ranges.kt @@ -238,7 +238,7 @@ fun ranges(): List { templates addAll integralPermutations.map { until(it.first, it.second) } templates addAll listOf(PrimitiveType.Byte, PrimitiveType.Short).permutations().map { untilDeprecated(it.first, it.second) } - fun containsDeprecated(rangeType: PrimitiveType, itemType: PrimitiveType) = f("contains(item: $itemType)") { + fun containsDeprecated(rangeType: PrimitiveType, itemType: PrimitiveType) = f("contains(value: $itemType)") { operator(true) deprecate("Range is deprecated. Use ClosedRange instead.") @@ -248,11 +248,11 @@ fun ranges(): List { onlyPrimitives(Ranges, rangeType) platformName("${rangeType.name.decapitalize()}RangeContains") returns("Boolean") - doc { "Checks if the specified [item] belongs to this range." } - body { "return start <= item && item <= end" } + doc { "Checks if the specified [value] belongs to this range." } + body { "return start <= value && value <= end" } } - fun contains(rangeType: PrimitiveType, itemType: PrimitiveType) = f("contains(item: $itemType)") { + fun contains(rangeType: PrimitiveType, itemType: PrimitiveType) = f("contains(value: $itemType)") { operator(true) check(rangeType.isNumeric() == itemType.isNumeric()) { "Required rangeType and itemType both to be numeric or both not, got: $rangeType, $itemType" } @@ -261,8 +261,8 @@ fun ranges(): List { customReceiver("ClosedRange") platformName("${rangeType.name.decapitalize()}RangeContains") returns("Boolean") - doc { "Checks if the specified [item] belongs to this range." } - body { "return start <= item && item <= endInclusive" } + doc { "Checks if the specified [value] belongs to this range." } + body { "return start <= value && value <= endInclusive" } }