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

x/rimbu/bimap/custom/interface.ts>BiMapCreators

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface BiMapCreators
implements BiMapFactory
import { type BiMapCreators } from "https://deno.land/x/rimbu@1.0.3/bimap/custom/interface.ts";

Methods

createContext<UK, UV>(options?: { keyValueContext?: RMap.Context<UK>; valueKeyContext?: RMap.Context<UV>; }): BiMap.Context<UK, UV>

Returns a new BiMap context instance based on the given options.

defaultContext<UK, UV>(): BiMap.Context<UK, UV>

Returns the default context for BiMaps.