FireDAC.Stan.Util.FDVarToBool

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FDVarToBool(const AValue: Variant): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall FDVarToBool(const System::Variant &AValue);

Properties

Type Visibility Source Unit Parent
function public
FireDAC.Stan.Util.pas
FireDAC.Stan.Util.hpp
FireDAC.Stan.Util FireDAC.Stan.Util

Description

Converts a Variant to a Boolean.

The FDVarToBool function returns the AValue parameter as a Boolean value.

FDVarToBool returns False if AValue is null, otherwise it returns the actual value of AValue converted to Boolean.

See Also