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