NumberRange¶
Type
NumberRange is an immutable [Min, Max] interval from NumberRange.new.
Example
Min¶
Min is the lower bound.
Max¶
Max is the upper bound, at least Min.
__tostring¶
__tostring returns "NumberRange(min, max)".
__eq¶
__eq returns true when Min and Max match.