ui.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.

UsageReturns
Map.remove(item)Object
ArgumentTypeDetails
this: ui.mapui.MapThe ui.Map instance.
itemObjectThe item to remove.