Hierarchy.getParentLevelByDepth Method

Gets the level that has the next smallest depth to levelDepth.
 

Parameters

levelDepth

Type: Number (Integer)
The depth of the level to get the parent of.

Return Value


Type: HierarchyLevel
The level if found, otherwise null.