[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Variants' (#rtl)

VarIsType

Check if a variant is of certain type

Declaration

Source position: variants.pp line 70

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: Jun 23 2021