.. highlightlang:: us .. index:: vtype .. _vtype: vtype ===== .. us.tag vtype NOTREADYENGLISH Programming.variant New5300 :ref:`vtype` returns the type matrix of a variant matrix. .. function:: rm = vtype(vm) .. us.return **Return Value** *rm* is a real matrix. Each element has one of the following values: .. list-table:: :header-rows: 1 * - Value - Description * - VNUMBER (0) - Real * - VSTRING (1) - String * - VCOMPLEX (2) - Complex * - VOBJECT (3) - UniScript-Object * - VCOMPOINTER (4) - COM-Object Pointer .. us.params **Parameters** .. uparam:: vm *vm* is a variant matrix. .. us.example **Example** :: vtype([1, "a"]) .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.30 - New. .. seealso:: :ref:`overview-programming`, :ref:`vmatrix`, :ref:`vconvert`, :ref:`vcast`, :ref:`type` :sub:`id-1432771`