TypeOf

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(type:string) TypeOf expr

Returns a string representing the type of an expression.

This is mainly useful for determining the type of an array element at run-time.

Possible return values: "String", "Number", "Form", "Array", "StringMap", "Map".