The same as format but returns a discriminated union instead of throwing.
An NCalc expression string or a pre-parsed LogicalExpression.
{ type: 'success', result } on success, or { type: 'error', error } on failure.
{ type: 'success', result }
{ type: 'error', error }
The same as format but returns a discriminated union instead of throwing.