Table of Contents

var_IsType

Description

Test whether a variable is initialised as a given type ID.

Function prototype

bool CExtAPI::var_IsType(ZVAR hVar, long VarID);

Arguments

Name Type Comment
hVar ZVAR A ZVAR handle to a variable, the type of which is to be tested.
VarID long A long integer containing the variable type ID to be tested.

Return value

False if:

  1. The hVar argument does not refer to a valid variable (e.g. is null).
  2. The variable is a type other than that given by VarID.

True otherwise.

Comments

None.