Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/collection-types/mod.ts>VariantSet.NonEmpty

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

A non-empty type-variant immutable Set of value type T. In the Set, there are no duplicate values. See the Set documentation and the VariantSet API documentation