VarTypeDeRef¶
Returns the resolved type of a variant.
Declaration¶
Source position: variants.pp line 74
function VarTypeDeRef(const V: Variant) : tvartype; overload; overload;
function VarTypeDeRef(const V: tvardata) : tvartype; overload; 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.