---
url: /process-functions/cube-exists.md
description: Checks whether a cube exists.
---

# cube.exists

Checks whether a cube exists.

```js
cube.exists(cubeName)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `cubeName` | `string` | The cube's name. |

## Returns

`true` when the cube exists, otherwise `false`.

## Examples

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