Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.14 KB

TreeController.Tree.ConstructorFunctions.md

File metadata and controls

44 lines (26 loc) · 1.14 KB

tree-controller / Exports / TreeController / Tree / ConstructorFunctions

Interface: ConstructorFunctions<N>

TreeController.Tree.ConstructorFunctions

Type parameters

Name Type
N any

Table of contents

Methods

Methods

fillNodesArray

▸ fillNodesArray(instance, ...args): N[]

Function

fillNodesArray will be called in Storage constructor to fill that instance's nodes property, that is a flat array containing the tree's every nodes.

Parameters

Name Type Description
instance Tree<N> of Storage
...args any[] extra arguments you can provide as necessary

Returns

N[]

Defined in

tree/tree-manager.tree.ts:164