Name
tuple_is_numbertuple_is_numberTupleIsNumbertuple_is_numberTupleIsNumberTupleIsNumber — Check a tuple (of strings) whether it represents numbers.
Herror tuple_is_number(double T, Hlong* IsNumber)
Herror T_tuple_is_number(const Htuple T, Htuple* IsNumber)
Herror tuple_is_number(const HTuple& T, Hlong* IsNumber)
Herror tuple_is_number(const HTuple& T, HTuple* IsNumber)
tuple_is_numbertuple_is_numberTupleIsNumbertuple_is_numberTupleIsNumberTupleIsNumber checks each element of the input tuple
TTTTTt 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_numbertuple_is_numberTupleIsNumbertuple_is_numberTupleIsNumberTupleIsNumber,
which can be used in an expression in the following syntax:
IsNumber := is_number(T)
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
TTTTTt (input_control) number(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*) (double / Hlong / BSTR) (double / Hlong / char*)
Input tuple.
Tuple with boolean numbers.
tuple_is_inttuple_is_intTupleIsInttuple_is_intTupleIsIntTupleIsInt,
tuple_is_realtuple_is_realTupleIsRealtuple_is_realTupleIsRealTupleIsReal,
tuple_typetuple_typeTupleTypetuple_typeTupleTypeTupleType
tuple_numbertuple_numberTupleNumbertuple_numberTupleNumberTupleNumber
Foundation