tuple_is_number🔗
Short description🔗
tuple_is_number — Check a tuple (of strings) whether it represents numbers.
Signature🔗
tuple_is_number( tuple T, out integer IsNumber )
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🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-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.
Combinations with other operators🔗
Module🔗
Foundation