remove

Removes a key-value pair from the collection.

Return

True if it was removed, false if the key was not in the collection.

Parameters

key

The key to be removed.

See also


fun remove(key: Int): Boolean(source)