contains

operator fun contains(key: String): Boolean(source)

Checks whether the preferences contains a preference.

Parameters

key

the name of the preference to check

Throws

if key wasn't specified as part of this migration