contains

abstract suspend operator fun contains(key: String): Boolean

Returns true if an entry with the given key exists in the store.

Return

true if the key is present, false otherwise.

Parameters

key

The key to look up.

Throws

CancellationException

if the calling coroutine is cancelled.