Open main menu

RAD Studio API Documentation β

System.Variant.operator !

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.