import * as rimbu from "https://deno.land/x/rimbu@1.0.5/common/comp.ts";
Functions
Returns a Comp instance that compares any value using default comparison functions. For Iterables and objects, their elements are compared recursively. | |
Returns a Comp instance that compares any value using default comparison functions, but never recursively compares Iterables or objects. In those cases, it will use the stringComp instance. | |
Returns a Comp instance that compares any value using default comparison functions. For Iterables and objects, their elements are compared only one level deep for performance and to avoid infinite recursion. | |
Returns a Comp instance converts values to string with JSON.stringify, and orders the resulting string naturally. | |
Returns a any Comp instance that orders any according to their toString values. | |
Returns a default bigint Comp instance that orders bigint numbers naturally. | |
Returns a default boolean Comp instance that orders booleans according to false < true. | |
Returns a Comp instance that orders objects with a | |
Returns a Date Comp instance that orders Dates according to their | |
Returns the default Comp instance, which is the Comp.anyDeepComp() instance. | |
Returns a Comp instance the reverses the order of the given | |
Returns a Comp instance for Iterable objects that orders the Iterables by comparing the elements with the given | |
Returns a default number Comp instance that orders numbers naturally. | |
Returns a Comp instance for objects that orders the object keys according to the given
| |
Returns a | |
Returns a string Comp instance that orders strings according to their indexed char codes. | |
Returns a | |
Returns an | |
Returns a Comp instance that extends the given | |
Returns a Comp instance that extends the given |
Interfaces
I Comp | An object providing methods to compare two values of type |