Skip to main content
Module

x/rimbu/bimap/custom/index.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@0.13.1/bimap/custom/index.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.