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

x/rimbu/ordered/set-custom/implementation/context.ts>OrderedSetContextImpl

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class OrderedSetContextImpl
implements [OrderedSetBase.Context]<UT, Tp>
import { OrderedSetContextImpl } from "https://deno.land/x/rimbu@0.14.0/ordered/set-custom/implementation/context.ts";

Constructors

new
OrderedSetContextImpl(listContext: List.Context, setContext: WithElem<Tp, UT>["sourceContext"])

Properties

readonly
_empty: OrderedSetBase<any, Tp>
readonly
builder: <T extends UT>() => WithElem<Tp, T>["builder"]
readonly
typeTag: string

Methods

createBuilder<T extends UT>(source?: OrderedSetNonEmpty<T, Tp>): WithElem<Tp, T>["builder"]
createNonEmpty<T extends UT>(order: List.NonEmpty<T>, sourceSet: any): WithElem<Tp, T>["nonEmpty"]
isNonEmptyInstance(source: any): source is any
isValidValue(value: any): value is UT