contains

abstract fun contains(key: K): Boolean(source)

Returns True if the cache contains a entry with the key, or False if there is none.

Return

True if the key is present.

Parameters

key

The key to be verified.