# Functions
ArrayOperand converts x to an array.
BigIntOperand converts x to a big int.
FloatToNumber converts f to a number.
IntOperand converts x to an int.
IntToNumber converts i to a number.
NewOperandElementErr returns an operand error indicating an element in the composite operand was wrong.
NewOperandEnumErr returns an operand error indicating a value was wrong.
NewOperandErr returns a generic operand error.
NewOperandTypeErr returns an operand error indicating the operand's type was wrong.
NumberOperand converts x to a number.
NumberToFloat converts n to a big float.
NumberToInt converts n to a big int.
ObjectOperand converts x to an object.
RuneSliceOperand converts x to a []rune.
SetOperand converts x to a set.
StringOperand converts x to a string.
StringSliceOperand converts x to a []string.
# Type aliases
Cache defines the built-in cache used by the top-down evaluation.
ErrOperand represents an invalid operand has been passed to a built-in function.
We use an ast.Object for the cached keys/values because a naive map[ast.Value]ast.Value will not correctly detect value equality of the member keys.