System.Variant.operator <=

From RAD Studio API Documentation
Jump to: navigation, search

C++

bool __fastcall operator <=(const Variant& rhs) const;
bool __fastcall operator <=(const char* rhs) const {
bool __fastcall operator <=(int rhs) const
bool __fastcall operator <=(double rhs) const
bool __fastcall operator <=(TDateTime rhs) const

Properties

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


Description

Tests whether the value of the Variant is less than or equal to a specified value.

The operator <= returns True if the value of the Variant is less than or equal to the value specified by rhs, False otherwise. If the comparison is not possible because of an invalid variant type conversion, an EVariantError exception is thrown.