Operator Reference
tuple_length (Operator)
tuple_length — Return the number of elements of a tuple.
Signature
Description
tuple_length returns the number of elements of the input tuple
Tuple.
Exception: Empty input tuple
If the input tuple is empty, the operator returns 0.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_length,
which can be used in an expression in the following syntax:
Length := |Tuple|
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
Tuple (input_control) tuple(-array) → (integer / real / string)
Input tuple.
Length (output_control) integer → (integer)
Number of elements of input tuple.
Alternatives
tuple_min,
tuple_max,
tuple_mean,
tuple_deviation,
tuple_sum,
tuple_median
See also
Module
Foundation