Returns the first argument with error inside args, if args is an array. Or args itself, if args is an object of ExpressionError (or derived).
Returns the description of this function. An empty string if a description is not available.
Returns the name of the function
Returns the operator-character of this function. Throws an error if this function is not useable as operation.
Returns the priority of this function. Only needed for operators.
Returns true if args is an ExpressionError-object or an array which contains an ExpressionError-object.
Returns true if the priority of this function is higher than the provided priority
Returns true if this function must be called asyncron and returns the value not immediately.
Returns true if this function is also available as operation (using operator)
Returns true, if the argument (node-children) should be executed before execute
of this function is called.
By default, returns true for all arguments. Override in function if certain arguments are executed for getting ther value inside the execute
-method.
Zero-based index of the argument
The node, none executed (result is not availabe at that time)
Returns true if this function is storing values between the calls. So, an instance needs to be created for each occurrence.
Generated using TypeDoc
Search-Replace
Replaces all occurrences of
searchString
inoriginString
byreplaceString
and returns the result. Is not changing theoriginString
.REPLACE(originString: string, searchString: string, replaceString: string) => string;
Returns the
originString
with occurrences ofsearchString
replaced byreplaceString
.REPLACE('Hallo', 'a', 'e') => 'Hello'; REPLACE('Banana', 'a', 'e', 4) => 'Banane'; REPLACE('Banana', 'a', 'e', 3, 5) => 'Banena';
Errors:
string
.