import { GraphElement } from "https://deno.land/x/rimbu@1.0.3/graph/custom/common/link.ts";
const { isSingleNode } = GraphElement;
Returns true if the given graph element e
is a single node.
Instructs the compiler that the type is a 1-tuple.
Parameters
e: GraphElement<any>
- the graph element