Dimension.IsEmpty

Syntax

IsEmpty: Boolean;

Description

The IsEmpty property determines whether dimension contains elements.

Comments

Available values:

Use JSON or the setIsEmpty method to set the property value and the getIsEmpty method to get the property value.

Example

To execute the example, the HTML page must contain the DimensionTree component named dimTree (see Example of Creating the DimensionTree Component). Check if dimension contains elements:

// Check if dimension contains elements
if (dim.getIsEmpty()) {
    console.log("Dimension contains elements");
} else {
    console.log("Dimension does not contain elements");
}

As a result the console displays check result:

Dimension contains elements

See also:

Dimension