getBoolean

abstract fun getBoolean(key: String): Boolean?(source)

Retrieves a Boolean value for the given key.

Return

The Boolean value, or null if no value exists for the key

Parameters

key

The key to retrieve the value for