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

x/rimbu/graph/main/index.ts>Traverse.LinkType

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Traverse.LinkType
Re-export
import { type Traverse } from "https://deno.land/x/rimbu@0.13.5/graph/main/index.ts";
const { LinkType } = Traverse;

Utility type to determine if a graph has valued or unvalued links

Type Parameters

G extends VariantGraphBase<any, any>
N
definition: G extends VariantValuedGraphBase<N, infer V> ? ValuedLink<N, V> : Link<N>