System.Rtti.TValue.AsBoolean

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AsBoolean: Boolean;

C++

bool __fastcall AsBoolean();

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.

See Also