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

x/rimbu/actor/main/lookup.ts>Lookup

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace Lookup
import { Lookup } from "https://deno.land/x/rimbu@0.14.0/actor/main/lookup.ts";

Functions

Returns a reducer that implements a lookup algorithm based on the given configuration.

Interfaces

Interface to define lookup actions.

Type Aliases

Function to determine how the lookup result type should be used to update a given state.

interface Lookup
import { type Lookup } from "https://deno.land/x/rimbu@0.14.0/actor/main/lookup.ts";

Interface to define a lookup algorithm based on actions and a fallback.

Properties

readonly
optional
actions: Lookup.Actions<R>
readonly
optional
fallback: F | undefined