Functions
This section provides detailed documentation for all built-in functions in RTR.
Categories
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
Usage
Each function is documented with:
A description of what the function does
Example usage with expected output
Common use cases and patterns
Best Practices
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
Last updated