Skip to content

hierarchy.exists ​

Checks whether a hierarchy exists.

js
hierarchy.exists(dimension, name)

Parameters ​

  • dimension - The dimension within which to check a hierarchy exists.
  • name - The identifier of the hierarchy.

Example ​

js
if( hierarchy.exists("Account", "Profit and Loss")) { //do something }