rangeTo
Creates a Boolean range from this value up to other, inclusive.
Ordering is false < true. false..true contains both values. The range supports membership tests and empty checks, without iteration.
Receiver
the inclusive lower bound.
Return
a Boolean range; empty when the lower bound exceeds other.
Parameters
the inclusive upper bound.
Creates a floating-point range from this value up to other, inclusive.
Membership uses IEEE comparisons. NaN is never contained; a NaN bound makes the range empty. Signed zeros compare as equal. The range does not support iteration.
Receiver
the inclusive lower bound.
Return
a range of Float values; empty when the lower bound exceeds other, or either bound is NaN.
Parameters
the inclusive upper bound.
Creates a floating-point range from this value up to other, inclusive.
Membership uses IEEE comparisons. NaN is never contained; a NaN bound makes the range empty. Signed zeros compare as equal. The range does not support iteration.
Receiver
the inclusive lower bound.
Return
a range of Double values; empty when the lower bound exceeds other, or either bound is NaN.
Parameters
the inclusive upper bound.
Creates an ascending range from this value up to other, inclusive.
The bounds are widened to Int without changing their values.
Receiver
the inclusive starting value.
Return
a range with step one, empty when the start exceeds other.
Parameters
the inclusive upper bound.
Creates an ascending range from this value up to other, inclusive.
The bounds are widened to Long without changing their values.
Receiver
the inclusive starting value.
Return
a range with step one, empty when the start exceeds other.
Parameters
the inclusive upper bound.
Creates an ascending range from this value up to other, inclusive.
The bounds are widened to UInt without changing their values.
Receiver
the inclusive starting value.
Return
a range with step one, empty when the start exceeds other.
Parameters
the inclusive upper bound.
Creates an ascending range from this value up to other, inclusive.
The bounds are widened to ULong without changing their values.
Receiver
the inclusive starting value.
Return
a range with step one, empty when the start exceeds other.
Parameters
the inclusive upper bound.
Creates an ascending range from this value up to other, inclusive.
Receiver
the inclusive starting value.
Return
a range with step one, empty when the start exceeds other.
Parameters
the inclusive upper bound.