between
import { between } from "https://raw.githubusercontent.com/baetheus/fun/main/sortable.ts";
Construct an exclusive between function over A from Sortable.
@example
import * as O from "./sortable.ts";
import { SortableNumber } from "./number.ts";
const between = O.between(SortableNumber);
const between1 = between(0, 10)
const result1 = between1(-1); // false
const result2 = between1(1); // true
const result3 = between1(100); // false