Sign in Join
FPDoc Onlineexperiment

VarIsStr function

In unit Variants

Check if the variant is a string.

Declaration

pascal
function VarIsStr(const V: Variant): Boolean

Arguments

V

Variant to test.

Function result

True if the value is of string type.

Description

VarIsCustom returns True if the variant V is of one of the string types: varOleStr, varUString, varString

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.