System.Variants.VarIsOrdinal

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarIsOrdinal(const V: Variant): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall VarIsOrdinal(const System::Variant &V);

Properties

Type Visibility Source Unit Parent
function public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

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.

See Also