import { Comp } from "https://deno.land/x/rimbu@1.0.2/common/comp.ts";
const { invert } = Comp;
Returns a Comp instance the reverses the order of the given comp
instance.
Examples
Example 1
Example 1
const c = Comp.invert(Comp.numberComp())
console.log(c.compare(3, 5) > 0)
// => true
console.log(c.compare(5, 5))
// => 0