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

x/rimbu/core/menu/menu.ts>Map.Hashed.Context

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

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.