contains

open fun contains(key: T): Boolean

Returns true if there is a value for the given key in the cache.

Parameters

key

The key to check.