System.Rtti.TValue.AsBoolean
Delphi
function AsBoolean: Boolean;
C++
bool __fastcall AsBoolean(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Converts the stored value to a Boolean value.
Call AsBoolean to convert the stored value to a Boolean value. An exception is raised if the stored value cannot be converted to a Boolean value.