Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.
Latest
interface RMapBase.Context
implements [RMapBase.Factory]<Tp, UK>
import { type RMapBase } from "https://deno.land/x/rimbu@1.2.1/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.