Static
endsStatic
formatStatic
hasStatic
isStatic
processConvert any found variables in the input to corresponding values.
The variable keyword may be a path to a variable inner in the variables
structure.
Eg. when variables is {"foo":{"bar":123}}
, the inner value 123
can be referenced using
{variablePrefix}foo.bar{variableSuffix}
in the input.
The input may be any JSON structure. Only string items will be processed. That means keywords and scalar string values inside the structure.
Returned structure is a partial (copy on write) version of the input structure.
Static
processConvert any found variables in the input to corresponding values.
The variable keyword may be a path to a variable inner in the variables
structure.
Eg. when variables is {"foo":{"bar":123}}
, the inner value 123
can be referenced using
{variablePrefix}foo.bar{variableSuffix}
in the input.
Returns the string with any found variables converted.
Static
startsStatic
toStatic
validateThe value to test
If defined, the first character must match one of these.
If defined, every character must match this. Defaults to acceptedStartChars
.
If defined, every character must match this. Defaults to acceptedMiddleChars
.
The minimum length of the string. Defaults to 0.
The maximum length of the string. Defaults to no limit.
Generated using TypeDoc
The value to test