Standard Library
December 28, 2019 · View on GitHub
- Comparisons
eqlTwo Arguments → Bool- Checks if two values are equal. Returns the result of the comparison.
bigTwo Numbers → Bool- Checks if the first number is bigger than the second one. Returns the result of the comparison.
smlTwo Numbers → Bool- Checks if the first number is smaller than the second one. Returns the result of the comparison.
- Number operations
incOne Number → Number- Returns the number incremented by one.
decOne Number → Number- Returns the number decremented by one.
addMultiple Numbers → Number- Adds numbers. Can take multiple arguments, but requires two. Returns the result of the addition.
subMultiple Numbers → Number- Subtracts numbers. Can take multiple arguments, but requires two. Returns the result of the subtraction.
mulMultiple Numbers → Number- Multiplies numbers. Can take multiple arguments, but requires two. Returns the result of the multiplication.
divMultiple Numbers → Number- Divides numbers. Can take multiple arguments, but requires two. Returns the result of the division.
- Others
forNumber & Function Name → Number- Calls a function multiple times. How many times the function will be executed is determined by the first argument. Can't take any other arguments (for now) and returns the first argument.
ifBool & Function Name → Bool- Calls a function if the first argument is
True. Can't take any other arguments (for now) and returns the first argument.
- Calls a function if the first argument is
exitNo Arguments → Exit- Exits the program