Skip to main content
Module

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

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class OrderedSetEmpty
implements OrderedSetBase<T, Tp>
extends EmptyBase
Re-export
import { OrderedSetEmpty } from "https://deno.land/x/rimbu@0.14.0/ordered/set-custom/index.ts";

Constructors

new
OrderedSetEmpty(context: WithElem<Tp, T>["context"])

Type Parameters

T
Tp extends OrderedSetTypes
optional
TpG extends WithElem<Tp, T> = WithElem<Tp, T>

Properties

readonly
order: List<T>
readonly
sourceSet: TpG["sourceSet"]

Methods

add(value: T): TpG["nonEmpty"]
addAll(values: StreamSource<T>): any
difference(): TpG["normal"]
has(): false
intersect(): TpG["normal"]
remove(): TpG["normal"]
removeAll(): TpG["normal"]
symDifference(other: StreamSource<T>): TpG["normal"]
toBuilder(): TpG["builder"]
toJSON(): ToJSON<any[]>
toString(): string
union(other: StreamSource<T>): TpG["normal"] | any