System.Variants.VarIsNull
Delphi
function VarIsNull(const V: Variant): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall VarIsNull(const System::Variant &V);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
Indicates whether the specified variant is Null.
VarIsNull returns true if the given variant contains the value Null. If the variant contains any other value, the function result is false.
Note: Do not confuse a Null variant with an unassigned variant. A Null variant is still assigned, but has the value Null. Unlike unassigned variants, Null variants can be used in expressions and can be converted to other types of variants.