import { OrderedSet } from "https://deno.land/x/rimbu@1.0.4/ordered/set/index.ts";
Interfaces
A mutable | |
A non-empty type-invariant immutable Ordered SortedSet of value type T. In the Set, there are no duplicate values. See the Set documentation and the OrderedSet API documentation | |
Utility interface that provides higher-kinded types for this collection. |
import { type OrderedSet } from "https://deno.land/x/rimbu@1.0.4/ordered/set/index.ts";
A type-invariant immutable Ordered Set of value type T. In the Set, there are no duplicate values. See the Set documentation and the OrderedSet API documentation
Examples
Example 1
Example 1
const s1 = OrderedSortedSet.empty<string>()
const s2 = OrderedSortedSet.of('a', 'b', 'c')
import { OrderedSet } from "https://deno.land/x/rimbu@1.0.4/ordered/set/index.ts";