remove

suspend fun remove(key: K): V?

Removes the mapping for the specified key from this cache if present.

Return

The previous value associated with key, or null if there was no mapping.

Parameters

key

The key whose mapping is to be removed.