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

x/rimbu/sorted/set-custom/creators.ts>SortedSetCreators

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

Methods

createContext<UT>(options?: { comp?: Comp<UT>; blockSizeBits?: number; }): SortedSet.Context<UT>

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

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

Returns the default context for SortedSets.