TypeOf

From the Oblivion ConstructionSet Wiki
Revision as of 14:49, 7 July 2012 by imported>QQuix (New page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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".