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

> pure function empty(): boolean Returns true if this byte_array 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/byte_array/empty/

FUNCTION

# byte\_array.empty

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

Returns `true` if this `byte_array` 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/byte_array/empty.html)Generated API reference, mirrored from the live docs
