getVisibleNodesBetween Method

Returns all visible nodes that are located between the two input nodes (inclusive). Input nodes can be provided in any order.

getVisibleNodesBetween(node1: BeInspireTreeNode<TNodePayload>, node2: BeInspireTreeNode<TNodePayload>): Array<BeInspireTreeNode<TNodePayload>>

Parameter Type Description
node1 BeInspireTreeNode<TNodePayload>  
node2 BeInspireTreeNode<TNodePayload>  

Returns - Array<BeInspireTreeNode<TNodePayload>>

Defined in

Last Updated: 13 June, 2024