System.Variants.VarIsStr
Delphi
function VarIsStr(const V: Variant): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall VarIsStr(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 a string value.
VarIsStr returns true if the given variant's type code is varString or varOleStr. If the variant contains any other type of value, the function result is false.