Skip to content

dimension.exists ​

Checks whether a dimension exists.

js
dimension.exists(dimensionName)

Parameters ​

ParameterTypeDescription
dimensionNamestringThe dimension's name.

Returns ​

boolean

true when the dimension exists, otherwise false.

Examples ​

js
if (dimension.exists("Account")) {
    // do something
}