Function: getBooleanValue()
function getBooleanValue(prop: Readonly<JSONProperty>): boolean | undefined;
Defined in: _internal/jsonc-helpers.ts:131
Resolve a boolean literal value from a JSON property.
Parametersโ
propโ
JSON property to inspect.
Returnsโ
boolean | undefined
The boolean value when the property holds a boolean literal;
otherwise undefined.