import { ValuedGraphElement } from "https://deno.land/x/rimbu@1.1.0/graph/custom/common/valued-link.ts";
const { getLinkElement } = ValuedGraphElement;
Returns the element at the given key
in the graph element e
,
if the element is a Link element, or returns the given otherwise
value
otherwise.
Returns
ValuedLink<N, V>[K] | undefined