import { mod } from "https://deno.land/x/math@v1.1.0/mod.ts";
Returns numeric whose value is the value of a
modulo b
. it will match that of JavaScript's %
operator
i.e. the integer remainder of dividing a
by b
.
Throws if a
or b
is negative or otherwise invalid.