import * as rimbu from "https://deno.land/x/rimbu@0.11.6/deep/mod.ts";
Functions
Returns true if the given | |
Returns a matcher that returns true if every given | |
Returns a matcher that returns true if none of given | |
Returns a matcher that returns true if exactly one of given | |
Returns a matcher that returns true if at least one of given | |
Returns an immutably updated version of the given | |
Returns a function that patches a given | |
Returns a nested patch object based on the given | |
Returns the value resulting from selecting the given | |
Sets the value at the given path in the source to the given value. | |
Returns the same value wrapped in the | |
Returns the given | |
Returns a Tuple containing the elements of given | |
Returns the first element of a Tuple. | |
Returns the item at the given | |
Returns a Tuple containing all but the last element of the given | |
Returns the last element of a Tuple. | |
Convenience method to type Tuple types | |
Returns the second element of a Tuple. | |
Returns a Tuple containing all but the first element of the given | |
Returns a copy of the given |
Type Aliases
The type to determine the allowed input values for the | |
The functions that are optionally provided to a match function. | |
The type to determine allowed matchers for objects. | |
The type to determine allowed matchers for object properties. | |
The types of supported match input. | |
A type to determine the allowed input type for the | |
The entry type for a (nested) patch. Can be either a patch object or a function accepting the nested patch function and returning a patch object. | |
The function type to create a nested Patch object. | |
The object patch type, allows the user to specify keys in T that should be patched, and each given key contains either a new value or a nested patch, or a function receiving the current value, the parent object, and the root object, and returning a new value or a nested patch. | |
A patch object can have as update either a new value or a nested patch object | |
T Path | A string representing a path into an (nested) object of type T. |
The result type when selecting from object type T a path with type P. | |
A deep readonly typed version of given type T. Makes all properties or elements read only. It maps types using the following rules:
| |
A readonly array of fixed length and types. | |
A non-empty readonly array that can serve as a source for a Tuple. | |
A readonly array that can serve as a source for a Tuple. |