Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/ordered/set-custom/index.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.13.1/ordered/set-custom/index.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