$getParent

Returns the id of the parent of the specified branch.
Syntax
    $getParent{branchID}
DocumentationReturns the id of the parent of the specified branch:

    Parameters:
      branchID, a optional parameter to specify the branch whos parent's id is requested if other than the current, defaults to the id of the current branch.
    Returns:
      the id of the parent branch of the specified branch.
Examples
    $forEach {i}
      {
      $getParent {$getCildren{}}
      }
        {}

    Result:
    if variable "i" applies, parent branch of all children branches
    returns
GroupBranch
Minimum required transaction-mode:READ
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters0
Maximum parameters 1