Variants.VarIsOrdinal
From RAD Studio VCL Reference
C++ Information
From Variants.hpp
bool __fastcall VarIsOrdinal(const System::Variant & V);
Unit: Variants
Type: function
Description
Indicates whether the specified variant represents an ordinal value.
VarIsOrdinal returns true if the given variant represents an ordinal value (such as an integer or boolean type). If the variant contains any other type of value, the function result is false.