to-tuple
array →
to-tuple() → tuple
Returns a tuple containing the input array’s elements in order. Returns null when the input is not an array.
Parameters
This function has no parameters.
Behavior
to-tuple materializes the input array as a tuple without changing its elements. Null values and nested arrays, records, and tuples are preserved without recursive conversion.
Examples
{1, "A", #true} | to-tuple → T(1, "A", #true)
Kind: Function
Scope: array
Aliases: None