# map.remove · Rell standard library · Chromia Docs (concept)

> function remove(key: K): V Remove an entry from this map. Parameters key — the key of the entry to remove Returns the value of the removed entry Throws exc

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

FUNCTION

# map.remove

```signature
function remove(key: K): V
```

Remove an entry from this map.

**Parameters**

* **key** — the key of the entry to remove

**Returns**

the value of the removed entry

**Throws**

* `exception` — if the key is not found in the map

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/map/remove.html)Generated API reference, mirrored from the live docs
