The endpoints are included in the interval.
import * as N from "flurp/number";const zeroToTen = N.isBetween(0, 10);zeroToTen(-4); // falsezeroToTen(7); // truezeroToTen(10); // true
Remarks
The endpoints are included in the interval.
Example