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

> pure function empty(): boolean Returns true if this text is empty, false otherwise. x.empty() is equivalent to x.size() == 0 . Since 0.6.0

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

FUNCTION

# text.empty

```signature
pure function empty(): boolean
```

Returns true if this text is empty, false otherwise.

`x.empty()` is equivalent to `x.size() == 0`.

Since 0.6.0

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