Callback to be passed to depthFirstSearch(). Should return true to return command and stop traversing.
depthFirstSearch()
true
command
Runs callback for topCommand and all of its descendants in a depth-first order, until it finds any Command that matches the predicate.
callback
topCommand
Command
Generated using TypeDoc
Callback to be passed to
depthFirstSearch()
. Should returntrue
to returncommand
and stop traversing.