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