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

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

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

A non-empty type-invariant immutable valued edge (undirected) graph. The nodes are internally maintained using HashMaps See the Graph documentation and the EdgeValuedGraphHashed API documentation

Methods

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