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

x/rimbu/hashed/map/interface/index.ts>HashMap.Context

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

A context instance for a HashMap that acts as a factory for every instance of this type of collection.

Properties

readonly
typeTag: "HashMap"
readonly
hasher: Hasher<UK>

A Hasher instance used to hash the map keys.

readonly
eq: Eq<UK>

An Eq instance used to check key equivalence.