Scalar FunctionsDynamic / JSON Functions
zip
Zip two or more dynamic arrays element-wise. Shorter inputs are
Syntax
zip(arg)Parameters
Prop
Type
Returns: dynamic
Examples
Example 1
print zip(dynamic([1, 2, 3]), dynamic(["a", "b", "c"]))| print_0 (dynamic) |
|---|
| [[1,"a"],[2,"b"],[3,"c"]] |
treepath
Enumerate the JSON paths (in bracket notation) reachable inside a dynamic value. Each bag key contributes `['key']`; each array contributes a single `[0]` describing its shape (not every index). Returns an empty array for nulls, scalars, and empty property bags.
abs
Returns the absolute value of a numeric expression, preserving the input type.