FUNCTION

map.remove_or_null

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

© 2026 Chromia