Introduce OpenEndRange and make primitive ranges implement it
#KT-52932
This commit is contained in:
@@ -458,6 +458,8 @@ public operator fun ClosedRange<Double>.contains(value: Float): Boolean {
|
||||
return contains(value.toDouble())
|
||||
}
|
||||
|
||||
// TODO: for OpenEndRange<Double>
|
||||
|
||||
/**
|
||||
* Checks if the specified [value] belongs to this range.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user