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

x/rimbu/core/menu/set/ordered.ts>Sorted

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace Sorted
import { Sorted } from "https://deno.land/x/rimbu@1.0.2/core/menu/set/ordered.ts";

Interfaces

A mutable OrderedSortedSet builder used to efficiently create new immutable instances. See the Set documentation and the OrderedSortedSet.Builder API documentation

A context instance for an OrderedSortedSet that acts as a factory for every instance of this type of collection.

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 OrderedSortedSet API documentation

Utility interface that provides higher-kinded types for this collection.

interface Sorted
implements OrderedSetBase<T, OrderedSortedSet.Types>
import { type Sorted } from "https://deno.land/x/rimbu@1.0.2/core/menu/set/ordered.ts";

A type-invariant immutable Ordered SortedSet of value type T. In the Set, there are no duplicate values. See the Set documentation and the OrderedSortedSet API documentation

Examples

Example 1

const s1 = OrderedSortedSet.empty<string>()
const s2 = OrderedSortedSet.of('a', 'b', 'c')
variable Sorted
import { Sorted } from "https://deno.land/x/rimbu@1.0.2/core/menu/set/ordered.ts";

type

OrderedSortedSetCreators