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

x/rimbu/collection-types/map-custom/index.ts>RMapBase.Context

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface RMapBase.Context
implements [RMapBase.Factory]<Tp, UK>
import { type RMapBase } from "https://deno.land/x/rimbu@0.13.0/collection-types/map-custom/index.ts";
const { Context } = RMapBase;

The map's Context instance that serves as a factory for all related immutable instances and builders.

Properties

readonly
_fixedKeyType: (key: UK) => never
readonly
typeTag: string

A string tag defining the specific collection type

readonly
_types: Tp

Methods

isValidKey(obj: any): obj is UK

Returns true if given obj could be a valid key in this Context.