Extension:ArrayFunctions/Lua functions
ArrayFunctions provides the following Lua (Scribunto) functions.
Lua functions
editmw.af.export
editArrayFunctions version | ≥ 1.0 |
This Lua function exports a Lua table as an ArrayFunctions array.
Description
editmw.af.export( table )
Parameters
edit- table : array
- The array to export.
Return values
editReturns the table as an ArrayFunctions array.
mw.af.import
editArrayFunctions version | ≥ 1.6 |
This Lua function imports an ArrayFunctions array as a Lua table.
Description
editmw.af.import( array )
Parameters
edit- array : array
- The array to import.
Return values
editReturns the array as a Lua table.