VarIsArray

Check whether a variant is an array

Declaration

Source position: variants.pp line 138

  function VarIsArray(const A: Variant) : Boolean;
  function VarIsArray(const A: Variant; AResolveByRef: Boolean) : Boolean;

Description

VarIsArray returns True if A is an array. If AResolveByRef is True (the default) then it will resolve all references first.

Errors

None.

See also

Name Description
VarTypeIsValidArrayType Check if a variant type can be used in an array