Skip to content

tree

Type Aliases

TreeIterator<T, R>

TreeIterator<T, R>: (node, index, parent, paths, nodes, tree) => R

Type parameters

ParameterValue
T-
Rvoid

Parameters

ParameterType
nodeT
indexnumber
parentMaybeNullish<T>
pathsstring[]
nodesT[]
treeT[]

Returns

R