import { Comp } from "https://deno.land/x/rimbu@0.13.0/common/index.ts";
const { createValueOfComp } = Comp;
Returns a Comp instance that orders objects with a valueOf
method according to the given valueComp
instance for the valueOf values.
Type Parameters
T extends { valueOf(): V; }