Function: getStringValue()
getStringValue(
prop:Readonly<JSONProperty>):string|undefined
Defined in: _internal/jsonc-helpers.ts:227
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.