contains

abstract operator fun <T> contains(key: Preferences.Key<T>): Boolean(source)

Returns true if this Preferences contains the specified key.

Parameters

key

the key to check for