list.extract-map()
The list.extract-map()
gets and removes the map from the list.
Github files.
Parameters
$list
$list
A list from which the map is extracted.
Return
The return value is a map with extracted from $list
map in map
key, and list without map
.
Examples
Last updated