Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

VarIsType

Check if a variant is of certain type.

Declaration

Source position: variants.pp line 77

function VarIsType(

  const V: Variant;

  aVarType: TVarType

):Boolean; overload;

function VarIsType(

  const V: Variant;

  const AVarTypes: array of TVarType

):Boolean; overload;

Description

VarIsType will return True if the variant V is of type aVarType or is in aVarTypes.

See also

VarType

  

Return the type of a variant.

VarAsType

  

Attempt to cast a variant to another type.

VarIsByRef

  

Check if the variant is a reference to a value.

VarIsNull

  

Check if a variant is null.

VarIsEmpty

  

Check if the variant is empty.


Documentation generated on: Dec 23 2024