Show: Delphi C++
Display Preferences

System.Variants.VarIsNull

From XE2 API Documentation
Jump to: navigation, search

Delphi

function VarIsNull(const V: Variant): Boolean;

C++

extern 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.

See Also

Personal tools
Previous Versions
Translations