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

> function remove_ or_ null(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

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

FUNCTION

# map.remove\_or\_null

```signature
function remove_or_null(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, or `null` if the key is not found in the map

Since 0.11.0

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