getValueWithoutQuotes

API / @publicodes/tools / index / getValueWithoutQuotes

function getValueWithoutQuotes(value): string | null;

Defined in: commons.ts:274

Unquote a string value.

Parameters

ParameterTypeDescription
valuePublicodesExpression | undefinedThe value to parse.

Returns

string | null

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