getBoolean
Retrieves a boolean value of the specified property in the object.
Signature
getBoolean(object: {} | undefined, property: string, default?: boolean): boolean
Parameters
Name | Type | Optional | Description |
---|---|---|---|
object | {} | undefined | No | Reference to the object. |
property | string | No | Name of the property. |
default | boolean | Yes | Specifies the default value. |
Return value
Returns the value of the property.