map.remove()
The map.remove()
function with unified map.remove()
and deep-remove()
returns $map
without $keys
.
Parameters
$map
$map
A map to remove $keys
from.
$keys...
$keys...
Multiple keys to remove from $map
. If key is a comma-separated list then map.deep-remove()
function is used, otherwise map.remove()
.
Return
The return value is a copy of $map
without any values associated with $keys
.
Examples
Last updated