get

abstract suspend fun get(key: K): V?

Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. This is a suspendable, non-blocking operation.

Return

The value to which the specified key is mapped, or null if this map contains no mapping for the key.

Parameters

key

The key whose associated value is to be returned.