Sign in Join
FPDoc Onlineexperiment

TByteHelper.ToBoolean function

Member of TByteHelperpublicIn unit sysutils

Convert to a boolean value.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.