System.SysUtils.TLongBoolHelper.ToInteger
Delphi
function ToInteger: Integer; inline;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TLongBoolHelper |
Description
Returns an integer representation of a LongBool value.
ToInteger returns 0 if the LongBool value is False. If the LongBool value is True, it returns 1.