Skip to main content
Module

x/rimbu/mod.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@0.14.0/mod.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.