Kotlin HashMap isNullOrEmpty()
Syntax & Examples
Syntax of HashMap.isNullOrEmpty()
The syntax of HashMap.isNullOrEmpty() extension function is:
fun <K, V> Map<out K, V>?.isNullOrEmpty(): Boolean
This isNullOrEmpty() extension function of HashMap returns true if this nullable map is either null or empty.