SRL Function Reference
All 61 supported SRL functions, grouped by purpose. Every entry includes syntax, allowed parameters, return type, examples, and expected return values.
Function names are case-insensitive. Examples use the preferred spelling. Collection functions return new values and do not modify source configuration.
Choosing a function
- Use operators for direct comparisons and functions for conversion, expansion, aggregation, or firewall-aware processing.
- Use
array_group_by()for one-pass field grouping instead of nested scans over the same collection. - Use
foreachandifwhen a transformation requires custom conditional logic. - Use specialized duplicate helpers when their indexed result format and measured performance fit the rule.