FoldInterpretableOptions
FoldInterpretableOptions configures a comprehension fold interpretable.
Properties
Section titled “Properties”accuInit
Section titled “accuInit”accuInit:
InterpretableV2
accuInit evaluates to the initial accumulator value.
accuVar
Section titled “accuVar”accuVar:
string
accuVar is the accumulator variable name.
condition
Section titled “condition”condition:
InterpretableV2
condition evaluates the loop condition.
exhaustive?
Section titled “exhaustive?”
optionalexhaustive?:boolean
exhaustive ensures every loop condition and step is evaluated.
id:
number
id is the expression id associated with the fold node.
interruptable?
Section titled “interruptable?”
optionalinterruptable?:boolean
interruptable checks the execution frame for cancellation after each loop step.
iterRange
Section titled “iterRange”iterRange:
InterpretableV2
iterRange evaluates to the input collection.
iterVar
Section titled “iterVar”iterVar:
string
iterVar is the first iteration variable name.
iterVar2?
Section titled “iterVar2?”
optionaliterVar2?:string
iterVar2 is the second iteration variable name, if present.
result
Section titled “result”result:
InterpretableV2
result evaluates the final fold result.
step:
InterpretableV2
step evaluates the next accumulator value.