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

x/rimbu/core/mod.ts>ArrowValuedGraph.NonEmpty

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

A non-empty type-invariant immutable valued arrow (directed) graph. See the Graph documentation and the ArrowValuedGraph API documentation

Methods

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