boolean
fun ISharedPreferencesOwner.boolean(defaultValue: Boolean = false, commit: Boolean = false): SharedPreferencesProperty<Boolean>
Save or set a float value into SharedPreferences.
Since
0.5.6
Parameters
defaultValue
The defaultValue to return if this preference does not exist.