import * as rimbu from "https://deno.land/x/rimbu@0.13.5/common/index.ts";
Classes
A base class that can be used to easily create | |
A custom error instance. | |
A base class that can be used to easily create |
Variables
Returns an | |
A | |
Returns an | |
Returns an | |
Returns an | |
Returns an | |
Returns an | |
Returns an | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns an | |
Returns an | |
A | |
A | |
Indicates, when returned from a collect function, to skip the value. | |
An Eq instance that uses | |
Returns a | |
A | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
A | |
A |
Functions
Returns the value or promised value contained in an | |
Returns the value contained in an | |
Returns an | |
Returns an | |
Returns an | |
Returns an | |
Returns an | |
Returns an | |
Returns an | |
Returns a | |
Returns a | |
Returns an | |
Returns a | |
Returns an | |
Returns an | |
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 | |
Returns an Eq instance that checks equality of any values. For composed values (objects and iterables) it will recursively compare the contained values. | |
Returns an Eq instance that checks equality of any values. For composed values (objects and iterables) it will compare with Object.is. | |
Returns an Eq instance that considers values equal their JSON.stringify values are equal. | |
Returns an Eq instance that checks equality of any values. For composed values (objects and iterables) it will enter 1 level, and if again compound values are found, they are compared with Object.is. | |
Returns an Eq instance that considers strings equal taking the given or default locale into account. | |
Returns an Eq instance that compares Date objects according to their | |
Returns the default Eq instance, which is the Eq.anyDeepEq() instance. | |
Returns an Eq instance that compares Iterables by comparing their elements with the given | |
Returns an Eq instance that checks equality of objects containing property values of type V by iteratively
applying given | |
Returns an Eq instance that considers strings equal regardless of their case. | |
Returns an Eq instance that considers strings equal when all their charcodes are equal. | |
Returns an | |
Returns an Eq instance for objects that have a | |
f Err | Throws an |
Returns a function that, when called, throws an | |
Returns, given the | |
Returns, given the
| |
Returns the value contained in an | |
Returns the value contained in an | |
Simplifies a given | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a | |
Returns a new | |
Returns the result of given |
Interfaces
I Comp | An object providing methods to compare two values of type |
The Implementation interface for a | |
Utility type to convert some object to a JSON serializable format. | |
An object used to track the state of a traversal, e.g. a |
Type Aliases
Accepts all arrays with at least one element. | |
A potentially asynchronous function used in | |
A potentially lazy and/or asynchronous value of type T. | |
An | |
A function used in | |
Indicates, when returned from a collect function, to skip the value. | |
T Eq | A function returning true if given |
A flexible range specification for numeric indices. If a start or end is defined, a tuple can be used where the second item is a boolean indicating whether that end is inclusive or exclusive. An IndexRange can have one of the following forms:
| |
A type that is either a value T or a promise yielding a value of type T. | |
A potentially lazy value of type T. | |
A potentially lazy value that, in case of a lazy function, received a default value that it can return. | |
A range definition for any type of (orderable) value. If a start or end is defined, a tuple can be used where the second item is a boolean indicating whether that end is inclusive (true) or exclusive (false). A Range of type T can have one of the following forms:
| |
A | |
Accepts all types of T and U where T extends U or U extends T. | |
Accepts all strings with at least one character. | |
Accepts all types of T and S where S extends T, and results in the lower bound S. | |
Accepts all types of T and U where T extends U, and result in the upper bound U. | |
A value of type T, or a function taking a value of type T and returning a new value of type T. |