Reference

Operators

Equality
Input Two arguments of any type.
Output True if they are equal. False otherwise.

Signature

Example

Inequality
Input Two arguments of any type.
Output True if they are not equal. False otherwise.

Signature

Example

Greater than
Input Two numbers, strings, or timestamps.
Output True if the first argument is greater than the second. False otherwise.

Signature

Example

Less than
Input Two numbers, strings, or timestamps.
Output True if the first argument is less than the second. False otherwise.

Signature

Example

Greater than or equal
Input Two numbers, strings, or timestamps.
Output True if the first argument is greater than or equal to the second. False otherwise.

Signature

Example

Less than or equal
Input Two numbers, strings, or timestamps.
Output True if the first argument is less than or equal to the second. False otherwise.

Signature

Example

Addition
Input Two numbers or vectors.
Output The sum of the arguments.

Signature

Example

Subtraction
Input Two numbers, vectors, or sets.
Output The difference of the arguments.

Signature

Example

Negation
Input One number.
Output The number negated.

Signature

Example

Multiplication
Input Two numbers.
Output The product of the numbers.

Signature

Example

Division
Input Two numbers.
Output The division of the numbers.

Signature

Example

Modulo
Input Two numbers.
Output The remainder of the division of the numbers.

Signature

Example

And
Input Two boolean arguments.
Output True if both arguments are true. False otherwise.

Signature

Example

Or
Input Two boolean arguments.
Output True if at least one argument is true. False otherwise.

Signature

Example

Not
Input One boolean argument.
Output True if the argument is false. False if the argument is true.

Signature

Example

Concatenation
Input Two elements.
Output The concatenation of the two elements.

Signature

Example

Element Access
Input A list or string and a number (index).
Output The element at the specified position. Equivalent to bracket notation a[i].

Signature

Example