Namespaces
getBoolean
function getBoolean(key: string, defaultValue?: boolean): boolean;Defined in: application-settings/index.d.ts:12
Gets a value (if existing) for a key as a Boolean Object. A default value can be provided in case there is no existing value.
Parameters
| Parameter | Type | Description |
|---|---|---|
key | string | The key to check for. |
defaultValue? | boolean | An optional value to be returned in case there is no existing value. |
Returns
boolean
- Previous
- getAllKeys
- Next
- getNumber