System.SysUtils.TShortIntHelper.ToBoolean
Delphi
function ToBoolean: Boolean; inline;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TShortIntHelper |
Description
Converts this ShortInt number to a Boolean value.
ToBoolean returns True if this ShortInt is different from 0. Returns False otherwise.