Map.remove

Removes the given item from the map, if it exists.

Returns the removed item or null if it hadn't been added to the map.

Usage Returns
Map.remove(item) Object
Argument Type Details
item
Object The item to remove.
Create a Mobile Website
View Site in Mobile | Classic
Share by: