Skip to content

VarIsOrdinal

Check if the variant is an ordinal value.

Declaration

Source position: variants.pp line 80

  function VarIsOrdinal(const V: Variant) : Boolean;

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

Name Description
VarIsCustom Check if the variant is a custom value.
VarIsEmpty Check if the variant is empty
VarIsFloat Check if the variant is a floating-point value.
VarIsNull Check if a variant is null
VarIsNumeric Check if the variant is a numerical value
VarIsStr Check if the variant is a string