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

x/rimbu/hashed/set/interface/index.ts>HashSet.Context

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

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.