System.SysUtils.TBooleanHelper.ToInteger

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ToInteger: Integer; inline;

Properties

Type Visibility Source Unit Parent
function public System.SysUtils.pas System.SysUtils TBooleanHelper

Description

Returns an integer representation of a Boolean value.

ToInteger returns 0 if the Boolean value is False. If the Boolean value is True, it returns 1.

See Also