Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/core/main/index.ts>Deep.Selector.Result

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Deep.Selector.Result
import { type Deep } from "https://deno.land/x/rimbu@0.13.5/core/main/index.ts";
const { Result } = Deep.Selector;

Type defining the result type of applying the SL selector type to the T value type.

definition: Selector<T> extends SL ? never : SL extends (...args: any[]) => infer R ? R : SL extends string ? Path.Result<T, SL> : readonly [K in keyof SL]: Selector.Result<T, SL[K]>