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

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

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

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

Properties

readonly
typeTag: "HashSet"
readonly
hasher: Hasher<UT>

A Hasher instance used to hash the values.

readonly
eq: Eq<UT>

An Eq instance used to check value equivalence.