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