Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Question about how the function Tree.getAllNodes(parentNode) works

    If I call Tree.getAllNodes(parentNode) and parentNode has child nodes, I get an array of nodes, including the parentNode itself.

    If I call Tree.getAllNodes(parentNode) and parentNode has no child nodes, I get null.
    Wouldn’t it be more logical to return an array containing only the parentNode?

    #2
    The suggested change has been applied.

    Thanks.

    Regards
    Isomorphic Software

    Comment

    Working...
    X