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

x/rimbu/graph/custom/index.ts>Link.fromTuple

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function Link.fromTuple
import { Link } from "https://deno.land/x/rimbu@1.2.0/graph/custom/index.ts";
const { fromTuple } = Link;

Returns a graph Link from the given 2-tuple tuple.

Parameters

tuple: [N, N]
  • the tuple to convert