Checks if the given number is within the given minimum and maximum.
isWithin(0, -2, 2); // true isWithin(1, -2, 2); // true isWithin(0, 1, 3); // false isWithin(1, 1, 2); // false
The number to check.
The minimum value exclusive.
The maximum value exclusive.
Whether the number is within the minimum and maximum.
Generated using TypeDoc
Checks if the given number is within the given minimum and maximum.
isWithin(0, -2, 2); // true isWithin(1, -2, 2); // true isWithin(0, 1, 3); // false isWithin(1, 1, 2); // false