getValueWithoutQuotes

API / @publicodes/tools / index / getValueWithoutQuotes

function getValueWithoutQuotes(value): null | string

Defined in: commons.ts:274

Unquote a string value.

Parameters

ParameterTypeDescription
valueundefined | PublicodesExpressionThe value to parse.

Returns

null | string

The value without quotes if it is a string, null otherwise.