import { type Num } from "https://deno.land/x/rimbu@0.13.1/typical/index.ts";
const { Subtract } = Num;
Returns the result of subtracting N2 from N1.
Examples
Example 1
Example 1
Subtract<25, 13> => 12
Subtract<1721, 335> => 1386
Subtract<5, 8> => never
definition: N1 extends never ? never : N2 extends never ? never : StrNum.ToNumber<StrNum.Subtract<StrNum.FromNumber<N1>, StrNum.FromNumber<N2>>>