validateExpr
Function: validateExpr()
validateExpr(
expr,path?):string[]
Defined in: packages/workflow/src/expression.ts:162
Validate an expression tree, as received from an untrusted source (a stored workflow)
Parameters
expr
unknown
the candidate expression
path?
string = "$"
path of this node, $ for the root
Returns
string[]
the paths of the invalid nodes, empty when the expression is valid