VarIsError
Check if the variant has type varError
Declaration
Source position: variants.pp line 111
function VarIsError(const V: Variant; out AResult: HRESULT) : Boolean;
function VarIsError(const V: Variant) : Boolean;
Description
VarIsError checks V and returns True if the type is varError.
See also
| Name | Description |
|---|---|
| VarIsEmpty | Check if the variant is empty |
| VarIsEmptyParam | Check if the variant is an error value for VAR_PARAMNOTFOUND |
| VarIsNull | Check if a variant is null |
| VarIsOrdinal | Check if the variant is an ordinal value. |