---
url: /cube-functions/isleaf.md
description: >-
  Returns true if the cell being calculated does not have any elements with
  children.
---

# ISLEAF

Returns true if the cell being calculated does not have any elements with children.

```js
ISLEAF(cube)
```

#### Parameters

* `cube` - The name of the cube. `(optional)`

#### Examples

```js
ISLEAF()
```

**Note:** Assuming the cell being calculated is against all N-level elements (elements without children) this function will return true.
