Sign in Join
FPDoc Onlineexperiment

TShortIntHelper.ToBoolean function

Member of TShortIntHelperpublicIn unit sysutils

Convert to a boolean value.

Declaration

pascal
function ToBoolean: Boolean

Description

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