import * as tui from "https://deno.land/x/tui@2.1.11/src/utils/numbers.ts";
Functions
Clamp {number} between {min} and {max} | |
f fits | Check whether {number} fits in <{min}, {max}> range |
Check whether {column} and {row} fit in {rectangle} boundaries | |
Normalize {value} between 0 and 1 | |
Check whether rectangle {a} is the same as rectangle {b} | |
Calculate intersection between two rectangles |