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

x/rimbu/bimap/mod.ts>BiMap.Context

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface BiMap.Context
implements BiMapFactory<UK, UV>
import { type BiMap } from "https://deno.land/x/rimbu@0.13.5/bimap/mod.ts";
const { Context } = BiMap;

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

Type Parameters

UK
UV
optional
Tp extends BiMap.Types = BiMap.Types

Properties

readonly
typeTag: "BiMap"

A string tag defining the specific collection type

readonly
_types: Tp
readonly
keyValueContext: RMap.Context<UK>
readonly
valueKeyContext: RMap.Context<UV>