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

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=System.SysUtils.TWordHelper.ToBoolean&oldid=523240"