vertx / io.vertx.reactivex.core.shareddata / LocalMap / removeIfPresent

removeIfPresent

open fun removeIfPresent(key: K, value: V): Boolean

Remove the entry only if there is an entry with the specified key and value.

This method is the poyglot version of io.vertx.reactivex.core.shareddata.LocalMap#remove.

Parameters

key - the key

value - the value

Return
true if removed