Functions
Last updated
Last updated
This section provides detailed documentation for all built-in functions in RTR.
min, max, abs, round, floor, ceil, sqrt
join, split, chr, ord, length
length, item, range
keys, values, has, obj
all, any, not
log, return, error
Each function is documented with:
A description of what the function does
Example usage with expected output
Common use cases and patterns
Use built-in functions when available instead of implementing your own
Check function return values for error conditions
Use appropriate functions for the data type you're working with
Consider performance implications when using functions in loops
Use descriptive variable names when storing function results