Kotlin HashMap remove()
Syntax & Examples
Syntax of HashMap.remove()
The syntax of HashMap.remove() function is:
fun remove(key: K): V?
This remove() function of HashMap removes the specified key and its corresponding value from this map.