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

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

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

Methods

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

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

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

Returns the default context for OrderedSortedSet.