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

x/rimbu/sorted/set-custom/index.ts>SortedSetEmpty

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

Constructors

new
SortedSetEmpty(context: SortedSetContext<T>)

Type Parameters

optional
T = any

Methods

add(value: T): SortedSet.NonEmpty<T>
addAll(values: StreamSource<T>): SortedSet.NonEmpty<T>
has(): false
remove(): this
removeAll(): this
slice(): this
toBuilder(): SortedSet.Builder<T>
toString(): string
union(other: StreamSource<T>): SortedSet<T> | any