Ar First

From the Oblivion ConstructionSet Wiki
Revision as of 08:51, 3 January 2015 by imported>QQuix (added another possible return)
(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:

(key:arrayKey) ar_First src:array

Returns the key of the first element in an array, or Ar_BadNumericIndex/Ar_BadStringIndex if the array has no elements.