getValueWithoutQuotes
API / @publicodes/tools / index / getValueWithoutQuotes
function getValueWithoutQuotes(value): null | string Defined in: commons.ts:274
Unquote a string value.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | undefined | PublicodesExpression | The value to parse. |
Returns
null | string
The value without quotes if it is a string, null otherwise.