Tableex Library

The tableex library exposes more functions to the built-in Lua table library.

The following functions are exposed by this library:

table table.copy(t);

table table.count(t);

boolean table.haskey(t, key);

boolean table.hasvalue(t, val);

table table.merge(src, dest);

table table.Nil(t);

table table.reverse(t);

table table.sortbykey(t, desc);

number table.sum(t);

number table.mult(t);

number table.min(t);

number table.max(t);