IConfiguration.GetBoolean Method
Reads a boolean. ADefault is returned only when the key is absent.
Remarks
Accepts a JSON boolean or the strings true and false in any letter case. Nothing else: not 0 and 1, not yes and no.
Syntax
Unit: Bcl.Configuration
function IConfiguration.GetBoolean(const APath: string; ADefault: Boolean): Boolean; virtual; abstract;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | APath | string | |
| ADefault | Boolean |