hasChild(parent, child)

checks whether an item exists in a certain branch (at any level)

Parameters

  • parent - the id of the parent branch
    • string,dimension
  • child - the id of the item which existence needs being checked
    • string,dimension

Returns

true or false