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

Description

Converts this Word number to a Boolean value.

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

See Also