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

x/rimbu/graph/main/index.ts>ValuedGraph.NonEmpty

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

A non-empty type-invariant immutable valued graph. See the Graph documentation and the ValuedGraph API documentation

Methods

stream(): Stream.NonEmpty<ValuedGraphElement<N, V>>