Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/graph/custom/index.ts>EdgeValuedGraphBase.NonEmpty

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

Type Parameters

N
V
optional
Tp extends EdgeValuedGraphBase.Types = EdgeValuedGraphBase.Types

Methods

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

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