Function: getStringFromExpression()
getStringFromExpression(
expr:Readonly<JSONExpression>):string|undefined
Defined in: _internal/jsonc-helpers.ts:209
Extract a string literal value from a JSONExpression.
Parametersโ
exprโ
Readonly<JSONExpression>
JSON expression to inspect.
Returnsโ
string | undefined
The string value when the expression is a string literal; otherwise
undefined.