Sign in Join
FPDoc Onlineexperiment

TCardinalHelper.ToBoolean function

Member of TCardinalHelperpublicIn unit sysutils

Convert to a boolean value.

Declaration

pascal
function ToBoolean: Boolean

Description

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