Operator Reference
tuple_is_number (Operator)
tuple_is_number — Check a tuple (of strings) whether it represents numbers.
Signature
Description
tuple_is_number checks each element of the input tuple
T whether it represents a number. If the element is a
number (real or integer), 1 is returned for that element.
If the element is a string, it is checked whether the string represents a
number. If so, 1 is returned, otherwise 0.
Exception: Empty input tuple
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_is_number,
which can be used in an expression in the following syntax:
IsNumber := is_number(T)
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
T (input_control) tuple(-array) → (real / integer / string)
Input tuple.
IsNumber (output_control) integer(-array) → (integer)
Tuple with Boolean numbers.
Alternatives
tuple_is_int,
tuple_is_real,
tuple_type,
tuple_is_nan_elem
See also
Module
Foundation