# empty · Rell standard library · Chromia Docs (concept)

> function empty<T>(arg: T?): boolean Checks if a value is absent, i.e. null or empty. Equivalent to not exists(...) . Returns true if value is null or an em

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/empty/

FUNCTION

# empty

```signature
function empty<T>(arg: T?): boolean
```

Checks if a value is absent, i.e. `null` or empty.

Equivalent to `not exists(...)`.

**Returns**

`true` if `value` is `null` or an empty collection, `false` otherwise

**See Also**

1. [`exists` - Rell Standard Library](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/exists/)

Since 0.8.0

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/empty.html)Generated API reference, mirrored from the live docs
