System.Variant.operator !

From RAD Studio API Documentation
Jump to: navigation, search

C++

Variant __fastcall operator !() const;

Properties

Type Visibility Source Unit Parent
function public sysvari.h System Variant


Description

Returns a new Variant that is the logical negation of this Variant.

The operator ! returns 0 if the Variant has a nonzero value and 1 if the value of the Variant is 0 or NULL.

Note: Do not call the ! operator directly. It is an overload of the compiler logical negation operation.