Skip to content

TextEvaluateOptions

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