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