*Workflows › Reference › Functions › Conditional*

# Condition

> A function of the expression language. Category: Conditional. `cond`.

## Signature

```text
cond({ if: anyBooleanExpression, then: anyExpression, else: anyExpression })
```

## Where it can be used

Its result can be used where the editor expects a value of these types.

- list
- boolean
- number
- object
- text

More in [Functions](https://docs.filmo.io/workflows/data-and-expressions).

FUNCTION `cond`

## Arguments

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `if` | boolean | Yes |  |
| `then` | any value | Yes |  |
| `else` | any value | Yes |  |

---

Canonical URL: https://docs.filmo.io/workflows/reference/functions/cond  
Last updated: 2026-10-25