The name of the configured function, or one in the Math environment, which should be applied to the term
An array of string argument terms for the function
The cached Roll instances for each function argument
The cached result of evaluating the method arguments
Is this term intermediate, and should be evaluated first as part of the simplification process?
An object of additional options which describes and modifies the term.
Internal
_rootA reference to the Roll at the root of the evaluation tree.
Static
SERIALIZE_An array of additional attributes which should be retained when the term is serialized
Static
FLAVOR_A regular expression pattern which identifies optional term-level flavor text
Static
FLAVOR_A regular expression which identifies term-level flavor text
Static
REGEXPA regular expression used to match a term of this type
A string or numeric representation of the final output for this term, after evaluation.
A string representation of the formula expression for this RollTerm, prior to evaluation.
The function this term represents.
Whether this term is entirely deterministic or contains some randomness.
A string representation of the formula, including optional flavor text.
Optional flavor text which modifies and describes this term.
A reference to the RollResolver app being used to externally resolve this term.
Evaluate the term, processing its inputs and finalizing its total.
Optional
options: { Options which modify how the RollTerm is evaluated
Minimize the result, obtaining the smallest possible value.
Maximize the result, obtaining the largest possible value.
If true, string terms will not throw an error when evaluated.
Returns a Promise if the term is non-deterministic.
Protected
_evaluateProtected
_evaluatePrivate
#parseStatic
_fromStatic
fromStatic
isDetermine if evaluating a given RollTerm with certain evaluation options can be done so deterministically.
The term.
Optional
options: { Options for evaluating the term.
Force the result to be maximized.
Force the result to be minimized.
Static
fromStatic
fromJSON
A type of RollTerm used to apply a function.