The same as execute but returns a discriminated union instead of throwing. Non-ESCalcError exceptions are still re-thrown.
ESCalcError
A pre-parsed LogicalExpression or NCalc expression string.
Optional
Execution options.
{ type: 'success', result } on success, or { type: 'error', error } on failure.
{ type: 'success', result }
{ type: 'error', error }
The same as execute but returns a discriminated union instead of throwing. Non-
ESCalcErrorexceptions are still re-thrown.