Sign in Join
FPDoc Onlineexperiment

VarTypeDeRef function

In unit Variants

Returns the resolved type of a variant.

Declaration

pascal
function VarTypeDeRef(const V: Variant): tvartype; overload

Description

VarTypeDeRef will resolve the final type of the variant V: if V is a reference to another variant, the function will return the type of the referenced variant, recursing as much as needed till a non-variant type is encountered.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.