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

> function addAll(values: collection <-T>): boolean Deprecated (for removal): Use 'add_all' instead Add all elements from another collection to the end of th

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

FUNCTION

# set.addAll

```signature
function addAll(values: collection<-T>): boolean
```

**Deprecated** (for removal): Use 'add\_all' instead

Add all elements from another collection to the end of this collection.

If this collection does not allow duplicates, then only those elements not already contained in this
collection are added.

**Parameters**

* **values** — the collection of elements to add

**Returns**

`true` if any elements were added to this collection, `false` if it was not modified

Since 0.9.0

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

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