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

x/rimbu/core/main/index.ts>VariantValuedGraph.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface VariantValuedGraph.NonEmpty
implements [VariantValuedGraphBase.NonEmpty]<N, V, VariantValuedGraph.Types>, Omit<VariantValuedGraph<N, V>, keyof VariantValuedGraphBase.NonEmpty<any, any, any>>, [Streamable.NonEmpty]<ValuedGraphElement<N, V>>
import { type VariantValuedGraph } from "https://deno.land/x/rimbu@0.13.5/core/main/index.ts";
const { NonEmpty } = VariantValuedGraph;

A non-empty type-variant immutable valued graph. See the Graph documentation and the VariantValuedGraph API documentation

Methods

Returns a non-empty Stream containing all entries of this collection as tuples of key and value.