Return T/F fpr ndlst
consistency
Details
Tests whether each node in tree points to valid other node IDs. Also ensures `spn` and `root` are correct. Reports nodes that have errors.
Examples
tree <- randTree(100)
(checkNdlst(tree@ndlst, tree@root))
#> [1] TRUE