Compares two values and puts true last.
true
trueFirst
// use compareBy to broaden to truthy and falsy valuesconst truthyLast = compareBy(x => !!x, trueLast);
first value
second value
Generated using TypeDoc
Compares two values and puts
true
last.See
trueFirst
Example