System.SysUtils.TShortIntHelper.ToBoolean

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also