import { type Num } from "https://deno.land/x/rimbu@1.1.0/typical/index.ts";
const { InRange } = Num;
Returns true if the given number is greater than or equal to given L, and less than or equal to given H, and returns false otherwise.
Examples
Example 1
Example 1
InRange<4, 5, 10> => false
InRange<6, 5, 10> => true
InRange<5, 5, 10> => true
definition: GreaterThanOrEqual<N, L> & LessThanOrEqual<N, H> extends never ? false : true