Open this page in the API Guide
Template.getGroupingHierarchies Method
Gets the collection of grouping hierarchies that apply to the template.
Return Value
Type: Array
ElementType: GroupingHierarchy
The collection of grouping hierarchies that apply to this template.