$code.existsTemplateGroup

Returns whether the specified template group exists.
Syntax
    $code.existsTemplateGroup{group_name}
DocumentationReturns whether the specified template group exists.
A template name may consist of multiple slash separated names whereas the last name is the name within the groups which are specified by the preceding names. E.g. /Default/Test/test is the name of the template test in the subgroup Test of group Default.
    Paramter:
      1: The template group name in question.
    Returns:
      True (1) if the template group exists, false (0) otherwise.
    Throws:
      None.
Examples
$if{ $code.existsTemplateGroup{/Default} } { Group Default exists. } { Group Default doesn't exist. }
GroupCode
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_ADMINISTRATIVE
Minimum parameters1
Maximum parameters 1