System.SysUtils.TSmallIntHelper.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 TSmallIntHelper

Description

Converts this SmallInt number to a Boolean value.

ToBoolean returns True if this SmallInt is different from 0. Returns False otherwise.

See Also