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

x/rimbu/collection-types/set/interface/generic.ts>RSet.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface RSet.NonEmpty
implements [RSetBase.NonEmpty]<T, RSet.Types>, Omit<RSet<T>, keyof RSetBase<any, any>>
import { type RSet } from "https://deno.land/x/rimbu@1.0.4/collection-types/set/interface/generic.ts";
const { NonEmpty } = RSet;

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