Global

Type Definitions

criteria(data)

Callback that receives a node data in parameter and expects user to return one of following: 1. Traverser#searchBFS - {boolean} in return indicating whether given node satisfies criteria. 2. Traverser#searchDFS - {boolean} in return indicating whether given node satisfies criteria. 3. Tree#export - {object} in return indicating formatted data object.
Parameters:
Name Type Description
data object data of particular TreeNode
Source: