Difference between revisions of "RefMapArrayGetFirst"
Jump to navigation
Jump to search
imported>Jazzisparis |
imported>Jazzisparis |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = JIP | |origin = JIP | ||
|summary = Returns an '''array_var''' with the first '''Key::Value''' pair in the specified [[RefMap Array]]. The first element in the returned array is the '''Key''' (reference type), and the second element is the '''Value''' (float/reference/string type). | |summary = Returns an '''array_var''' with the first '''Key::Value''' pair in the specified [[RefMap Array]]. | ||
The first element in the returned array is the '''Key''' (reference type), and the second element is the '''Value''' (float/reference/string type). | |||
|name = RefMapArrayGetFirst | |name = RefMapArrayGetFirst | ||
|alias = RefMapFirst | |alias = RefMapFirst |
Latest revision as of 17:51, 28 January 2017
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns an array_var with the first Key::Value pair in the specified RefMap Array.
The first element in the returned array is the Key (reference type), and the second element is the Value (float/reference/string type).
Syntax
(array_var) RefMapArrayGetFirst arrName:string
Or:
(array_var) RefMapFirst arrName:string
Example
let aKeyValue := RefMapArrayGetFirst "someRefMap"
let aKeyValue := RefMapFirst "someRefMap"