Skip to content

cube.exists ​

Checks whether a cube exists.

js
cube.exists(cubeName)

Parameters ​

ParameterTypeDescription
cubeNamestringThe cube's name.

Returns ​

boolean

true when the cube exists, otherwise false.

Examples ​

js
const itExists = cube.exists("General Ledger");