Skip to content

tuple_is_handle_elemTupleIsHandleElemTupleIsHandleElemtuple_is_handle_elemT_tuple_is_handle_elem🔗

Short description🔗

tuple_is_handle_elemTupleIsHandleElemTupleIsHandleElemtuple_is_handle_elemT_tuple_is_handle_elem — Test whether the elements of a tuple are of type handle.

Signature🔗

tuple_is_handle_elem( tuple T, out number IsHandle )void TupleIsHandleElem( const HTuple& T, HTuple* IsHandle )static void HOperatorSet.TupleIsHandleElem( HTuple t, out HTuple isHandle )def tuple_is_handle_elem( t: HTupleType ) -> Sequence[int]

def tuple_is_handle_elem_s( t: HTupleType ) -> intHerror T_tuple_is_handle_elem( const Htuple T, Htuple* IsHandle )

HTuple HTuple::TupleIsHandleElem( ) const

HTuple HTuple.TupleIsHandleElem( )

Description🔗

tuple_is_handle_elemTupleIsHandleElem tests the elements of the input tuple Ttt separately. For all elements of type handle the value 11 (true) is returned in IsHandleisHandleis_handle, else 00 (false) is returned.

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_handle_elemTupleIsHandleElem, which can be used in an expression in the following syntax:

IsHandle := is_handle_elem(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🔗

Ttt (input_control) tuple(-array) → (handle / real / integer / string)HTuple (HHandle / double / Hlong / HString)HTuple (HHandle / double / int / long / string)HTupleTypeHtuple (handle / double / Hlong / char*)

Input tuple.

IsHandleisHandleis_handle (output_control) number(-array) → (integer)HTuple (Hlong)HTuple (int / long)Sequence[int]Htuple (Hlong)

Boolean values indicating if the elements of the input tuple are of type handle.

Result🔗

If the parameters are valid, the operator tuple_is_handle_elemTupleIsHandleElem returns the value 2 (H_MSG_TRUE).

Combinations with other operators🔗

Combinations

Alternatives

tuple_typeTupleType, tuple_type_elemTupleTypeElem, tuple_is_handleTupleIsHandle

See also

tuple_is_mixedTupleIsMixed, tuple_is_intTupleIsInt, tuple_is_realTupleIsReal, tuple_is_stringTupleIsString, tuple_is_mixedTupleIsMixed, tuple_is_int_elemTupleIsIntElem, tuple_is_real_elemTupleIsRealElem, tuple_is_numberTupleIsNumber, tuple_is_handleTupleIsHandle

Module🔗

Foundation