GlyEngine 0.0.17
Create games and apps with lua
|
Functions | |
local function | map (array, func) |
std.array.map | |
local function | filter (array, func) |
std.array.filter | |
local function | unique (array) |
std.array.unique | |
local function | each (array, func) |
std.array.each | |
local function | reducer (array, func, value) |
std.array.reducer | |
local function | index (array, func, reverse) |
std.array.index | |
local function | first (array, func) |
std.array.first | |
local function | some (array, func, reverse) |
std.array.some | |
local function | every (array, func) |
std.array.every | |
local function | compare (array, func) |
std.array.compare | |
std.array
:array()
or :json()
local function compare | ( | array | , |
func | ) |
compares the value of A with B, and B with C and so on, and checks if they are all true
[in] | array | |
[in] | func |
local function each | ( | array | , |
func | ) |
[in] | array | |
[in] | func |
local function every | ( | array | , |
func | ) |
[in] | array | |
[in] | func |
local function filter | ( | array | , |
func | ) |
[in] | array | |
[in] | func |
local function first | ( | array | , |
func | ) |
std.array.last
[in] | array | |
[in] | func |
local function index | ( | array | , |
func | , | ||
reverse | ) |
[in] | array | |
[in] | func |
local function map | ( | array | , |
func | ) |
[in] | array | |
[in] | func |
local function reducer | ( | array | , |
func | , | ||
value | ) |
[in] | array | |
[in] | func |
local function some | ( | array | , |
func | , | ||
reverse | ) |
[in] | array | |
[in] | func |
local function unique | ( | array | ) |
[in] | array |