---
url: /cube-functions/and.md
description: Returns 1 if all of the conditions are evaluated to true.
---

# AND

Returns 1 if all of the conditions are evaluated to true.

```js
AND(condition_a, condition_b, ...condition_n)
```

#### Parameters

* `condition_a` - Condition to be evaluated.
* `condition_b` - Condition to be evaluated.
* `condition_n` - Condition to be evaluated. `(optional)`

#### Examples

```js
AND(1 > 0, 2 < 3)
```

**Result:** `1`
