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