is_type()

Identifies whether a given value is of a given type. Returns TRUE if a given value is of a given type, NULL if given value does not match the type.

Syntax:

is_type(typeStr, value);

where

typeStr is the type to check the value against. The valid typeStr are: "int", "double", "complex", "list", "string", "file", "function", "vocabulary", "word".

value is any value.

Example:

is_type("int", 10); // returns TRUE

Where Used:

Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources