System.SysUtils.TByteBoolHelper.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 TByteBoolHelper

Description

Returns an integer representation of a ByteBool value.

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

See Also