hasChild(parent, child)

  • Type: Method
  • File:
  • Implemented in: TreeStore
  • Included in:

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

Parameters

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

Returns

true or false