Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description: Returns the Category Data Types of an expression.

The type is returned as an uppercase string, representing one of the available Category Data Types, e.g "ARRAY", "BOOL", "STRING", etc.

If the argument is isNil, the command also returns isNil.

Syntax

Syntax: typeName anything
Parameters:
Return Value: String - Data type of passed entity (or isNil).

Examples

Examples:
_msg="hello"; _result = typeName _msg;  // _result will be "STRING"
_unit=player; _result = typeName _unit; // _result becomes "OBJECT"

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes