NumberExtension extension

Extension on the num? class providing additional functionality related to numbers.

on

Methods

isBetween(num from, num to) bool
Method to check if the number falls within a specified range. Returns true if the number is between 'from' and 'to', inclusive; false otherwise.