Sign in Join
FPDoc Onlineexperiment

VarIsOrdinal function

In unit Variants

Check if the variant is an ordinal value.

Declaration

pascal
function VarIsOrdinal(const V: Variant): Boolean

Arguments

V

Variant to check.

Function result

True if the value is of the type OrdinalVarTypes.

Description

VarIsCustom returns True if the variant V is of one of the ordinal types: OrdinalVarTypes ( varSmallInt, varInteger, varBoolean, varShortInt, varByte, varWord, varLongWord, varInt64)

See also

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