containsKey

suspend fun containsKey(key: K): Boolean(source)

Checks if the cache contains a non-expired entry for the given key.

Return

true if a valid entry exists

Parameters

key

the cache key