Sign in Join
FPDoc Onlineexperiment

TIntegerHelper.ToBoolean function

Member of TIntegerHelperpublicIn unit sysutils

Convert to a boolean value.

Declaration

pascal
function ToBoolean: Boolean

Description

ToBoolean converts the Integer 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.