import { Deep } from "https://deno.land/x/rimbu@0.13.5/deep/index.ts";
const { Selector } = Deep;
Type Aliases
Type defining the result type of applying the SL selector type to the T value type. | |
Type defining the shape of allowed selectors, used to improve compiler checking. |
import { type Deep } from "https://deno.land/x/rimbu@0.13.5/deep/index.ts";
const { Selector } = Deep;
Type defining the allowed selectors on an object of type T
.
Selectors can be:
- a path string into type
T
. - a function receiving a
Protected
version of typeT
, and returning an arbitrary value. - a tuple of
Selectors
for typeT
- an object where the property values are
Selectors
for typeT
.