Skip to main content
Module

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