# coalesce()

`coalesce([...args])` returns its first argument that has a non-null value.

## Returns

The first argument in `args` whose value is not `null`. If `args` contains only `null`values, or is empty, then returns `null`.

## Examples

```python
# evaluates to 1
coalesce(null, 1)
# use either the requestId or request.id field, depending on which is available
coalesce(`requestId`, `request.id`)
```
