Kotlin HashMap containsValue()
Syntax & Examples


Syntax of HashMap.containsValue()

The syntax of HashMap.containsValue() function is:

fun containsValue(value: V): Boolean

This containsValue() function of HashMap returns true if the map maps one or more keys to the specified value.