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

x/rimbu/hashed/main/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@1.0.4/hashed/main/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.