VarIsError¶
Check if the variant has type varError.
Declaration¶
Source position: variants.pp line 118
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 |
|---|---|
| VarIsNull | Check if a variant is null. |
| VarIsEmpty | Check if the variant is empty. |
| VarIsOrdinal | Check if the variant is an ordinal value. |
| VarIsEmptyParam | Check if the variant is an error value for VAR_PARAMNOTFOUND. |