int
Chainable Ops
number-notEqual
Determines inequality of two values.
Argument | |
---|---|
lhs | The first value to compare. |
rhs | The second value to compare. |
Return Value
Whether the two values are not equal.
number-modulo
Divide a number by another and return remainder
Argument | |
---|---|
lhs | number to divide |
rhs | number to divide by |
Return Value
Modulo of two numbers
number-mult
Multiply two numbers
Argument | |
---|---|
lhs | First number |
rhs | Second number |
Return Value
Product of two numbers
number-powBinary
Raise a number to an exponent
Argument | |
---|---|
lhs | Base number |
rhs | Exponent number |
Return Value
The base numbers raised to nth power
number-add
Add two numbers
Argument | |
---|---|
lhs | First number |
rhs | Second number |
Return Value
Sum of two numbers
number-sub
Subtract a number from another
Argument | |
---|---|
lhs | number to subtract from |
rhs | number to subtract |
Return Value
Difference of two numbers
number-div
Divide a number by another
Argument | |
---|---|
lhs | number to divide |
rhs | number to divide by |
Return Value
Quotient of two numbers
number-less
Check if a number is less than another
Argument | |
---|---|
lhs | number to compare |
rhs | number to compare to |
Return Value
Whether the first number is less than the second
number-lessEqual
Check if a number is less than or equal to another
Argument | |
---|---|
lhs | number to compare |
rhs | number to compare to |
Return Value
Whether the first number is less than or equal to the second
number-equal
Determines equality of two values.
Argument | |
---|---|
lhs | The first value to compare. |
rhs | The second value to compare. |
Return Value
Whether the two values are equal.
number-greater
Check if a number is greater than another
Argument | |
---|---|
lhs | number to compare |
rhs | number to compare to |
Return Value
Whether the first number is greater than the second
number-greaterEqual
Check if a number is greater than or equal to another
Argument | |
---|---|
lhs | number to compare |
rhs | number to compare to |
Return Value
Whether the first number is greater than or equal to the second
number-negate
Negate a number
Argument | |
---|---|
val | Number to negate |
Return Value
A number
number-toString
Convert a number to a string
Argument | |
---|---|
in | Number to convert |
Return Value
String representation of the number
number-toTimestamp
Converts a number to a timestamp. Values less than 31536000000 will be converted to seconds, values less than 31536000000000 will be converted to milliseconds, values less than 31536000000000000 will be converted to microseconds, and values less than 31536000000000000000 will be converted to nanoseconds.
Argument | |
---|---|
val | Number to convert to a timestamp |
Return Value
Timestamp
number-abs
Calculates the absolute value of a number
Argument | |
---|---|
n | A number |
Return Value
The absolute value of the number
List Ops
number-notEqual
Determines inequality of two values.
Argument | |
---|---|
lhs | The first value to compare. |
rhs | The second value to compare. |
Return Value
Whether the two values are not equal.
number-modulo
Divide a number by another and return remainder
Argument | |
---|---|
lhs | number to divide |
rhs | number to divide by |
Return Value
Modulo of two numbers
number-mult
Multiply two numbers
Argument | |
---|---|
lhs | First number |
rhs | Second number |
Return Value
Product of two numbers
number-powBinary
Raise a number to an exponent
Argument | |
---|---|
lhs | Base number |
rhs | Exponent number |
Return Value
The base numbers raised to nth power
number-add
Add two numbers
Argument | |
---|---|
lhs | First number |
rhs | Second number |
Return Value
Sum of two numbers
number-sub
Subtract a number from another
Argument | |
---|---|
lhs | number to subtract from |
rhs | number to subtract |
Return Value
Difference of two numbers
number-div
Divide a number by another
Argument | |
---|---|
lhs | number to divide |
rhs | number to divide by |
Return Value
Quotient of two numbers
number-less
Check if a number is less than another
Argument | |
---|---|
lhs | number to compare |
rhs | number to compare to |
Return Value
Whether the first number is less than the second
number-lessEqual
Check if a number is less than or equal to another
Argument | |
---|---|
lhs | number to compare |
rhs | number to compare to |
Return Value
Whether the first number is less than or equal to the second
number-equal
Determines equality of two values.
Argument | |
---|---|
lhs | The first value to compare. |
rhs | The second value to compare. |
Return Value
Whether the two values are equal.
number-greater
Check if a number is greater than another
Argument | |
---|---|
lhs | number to compare |
rhs | number to compare to |
Return Value
Whether the first number is greater than the second
number-greaterEqual
Check if a number is greater than or equal to another
Argument | |
---|---|
lhs | number to compare |
rhs | number to compare to |
Return Value
Whether the first number is greater than or equal to the second
number-negate
Negate a number
Argument | |
---|---|
val | Number to negate |
Return Value
A number
numbers-argmax
Finds the index of maximum number
Argument | |
---|---|
numbers | list of numbers to find the index of maximum number |
Return Value
Index of maximum number
numbers-argmin
Finds the index of minimum number
Argument | |
---|---|
numbers | list of numbers to find the index of minimum number |
Return Value
Index of minimum number
numbers-avg
Average of numbers
Argument | |
---|---|
numbers | list of numbers to average |
Return Value
Average of numbers
numbers-max
Maximum number
Argument | |
---|---|
numbers | list of numbers to find the maximum number |
Return Value
Maximum number
numbers-min
Minimum number
Argument | |
---|---|
numbers | list of numbers to find the minimum number |
Return Value
Minimum number
numbers-stddev
Standard deviation of numbers
Argument | |
---|---|
numbers | list of numbers to calculate the standard deviation |
Return Value
Standard deviation of numbers
numbers-sum
Sum of numbers
Argument | |
---|---|
numbers | list of numbers to sum |
Return Value
Sum of numbers
number-toString
Convert a number to a string
Argument | |
---|---|
in | Number to convert |
Return Value
String representation of the number
number-toTimestamp
Converts a number to a timestamp. Values less than 31536000000 will be converted to seconds, values less than 31536000000000 will be converted to milliseconds, values less than 31536000000000000 will be converted to microseconds, and values less than 31536000000000000000 will be converted to nanoseconds.
Argument | |
---|---|
val | Number to convert to a timestamp |
Return Value
Timestamp
number-abs
Calculates the absolute value of a number
Argument | |
---|---|
n | A number |
Return Value
The absolute value of the number