$isRoot

Examines if the specified branch is a root branch.
Syntax
    $isRoot{branchID}
DocumentationExamines if the specified branch is a root branch:

    Parameters:
      branchID, a optional parameter to specify a branch other than the current; defaults to the id of the current branch.
    Returns:
      1 if and only if the specified branch is a root branch; 0 otherwise.
Examples
GroupBranch
Minimum required transaction-mode:READ
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1