import { ValuedGraphElement } from "https://deno.land/x/rimbu@0.13.0/graph/custom/index.ts";
const { getSingleNode } = ValuedGraphElement;
Returns the value of a single node graph element if the given element e
is a single
node, or the given otherwise
fallback value otherwise.
Parameters
e: ValuedGraphElement<N, any>
- the graph element