branchIndex(parent, child)

gets position of the item in the parent branch

Parameters

  • parent - the id of the parent branch
    • string,dimension
  • child - the id of the branch (item) which index needs being found
    • string,dimension

Returns

returns an item index