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

x/rimbu/ordered/set-custom/interface/creators.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@0.13.5/ordered/set-custom/interface/creators.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.