NumRangeExt extension

Add range extensions to num.

on

Methods

within(num from, num to) bool
Checks if this value is within the range: [from, to].
withinRange<T extends num>(Range<T> range) bool
Checks if this value is within the given range.