Skip to content

TByteHelper.ToBoolean

Convert to a boolean value

Declaration

Source position: syshelph.inc line 395

public 
  function ToBoolean : Boolean;

Description

ToBoolean converts the byte value to a boolean: it returns True if the value is nonzero, False if it is zero.

See also

Name Description
TByteHelper.ToDouble Convert to a double-sized floating point value
TByteHelper.ToExtended Convert to an extended-sized floating point value
TByteHelper.ToHexString Convert to a hexadecimal string representation
TByteHelper.ToSingle Convert to an single-sized floating point value
TByteHelper.ToString Convert the value to string