Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.0.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

Returns

Link<N>