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

x/rimbu/ordered/set-custom/index.ts>OrderedHashSetCreators

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface OrderedHashSetCreators
implements [RSetBase.Factory]<OrderedHashSet.Types>
import { type OrderedHashSetCreators } from "https://deno.land/x/rimbu@1.0.2/ordered/set-custom/index.ts";

Methods

createContext<UT>(options?: { listContext?: List.Context; setContext?: HashSet.Context<UT>; }): OrderedHashSet.Context<UT>

Returns a new OrderedHashSet context instance based on the given options.

defaultContext<UT>(): OrderedHashSet.Context<UT>

Returns the default context for OrderedHashSets.