Variants.VarIsStr
From RAD Studio VCL Reference
C++ Information
From Variants.hpp
bool __fastcall VarIsStr(const System::Variant & V);
Unit: Variants
Type: function
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.