Jetpack Multiplatform Preview Reference Documentation
common
datastore-preferences-core
/
androidx.datastore.preferences.core
/
Preferences
/
contains
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