Skip to content

dimension.size

This function is used to retrieve the size of a dimension, returns an integer. Returns 0 in case of invalid dimension name.

js
dimension.size(dimension_name)
dimension.size(dimension_name)

Parameters

  • dimension_name - Name of a dimension.

Example

js
let dimension_size = dimension.size("time");
let dimension_size = dimension.size("time");