Arithmetic
Basic arithmetic operations: addition, subtraction, multiplication, division, and more.
add
Add two values.
add(a, b) → Sum of a and b, or concatenated string
decrement
Subtract 1 from a value.
decrement(x) → x - 1
div
Divide two values.
div(a, b) → Quotient a / b
increment
Add 1 to a value.
increment(x) → x + 1
mod
Modulo (remainder after division).
mod(a, b) → Remainder a mod b
mul
Multiply two values.
mul(a, b) → Product a * b
neg
Negate a value.
neg(x) → Negated value -x
pow
Raise a to the power b.
pow(a, b) → a raised to the power b
sub
Subtract two values.
sub(a, b) → Difference a - b