# set.len · Rell standard library · Chromia Docs (concept)

> pure function len(): integer Deprecated (for removal): Use 'size' instead Get the size (number of elements) of this collection. Since 0.6.0 Alias of set.si

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

FUNCTION

# set.len

```signature
pure function len(): integer
```

**Deprecated** (for removal): Use 'size' instead

Get the size (number of elements) of this collection.

Since 0.6.0

**Alias of** [set.size](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/set/size/)

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