Skip to content

EvaluateOptions

Property Type Description
functions? Readonly<Record<string, (…args) => unknown>> Extra functions callable from expressions. They run as normal host code.
locale? string Locale used by formatting built-ins. Defaults to “en-US”.
maxDepth? number Maximum nested lambda calls. Defaults to 100.
maxSteps? number Maximum evaluation steps per evaluation. Defaults to 1,000,000.