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

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