It would be nice to have a method that can validate a Tree—i.e. run through each leaf and make sure that relationships make sense, values are set to something that makes sense, etc. This could be helpful to run after destructive operations, like changing parents, getting subtrees, etc.
It would be nice to have a method that can validate a Tree—i.e. run through each leaf and make sure that relationships make sense, values are set to something that makes sense, etc. This could be helpful to run after destructive operations, like changing parents, getting subtrees, etc.