diff options
Diffstat (limited to 'server/locale/en-US/libs/lua/table.lni')
-rw-r--r-- | server/locale/en-US/libs/lua/table.lni | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/server/locale/en-US/libs/lua/table.lni b/server/locale/en-US/libs/lua/table.lni new file mode 100644 index 00000000..5f5454d3 --- /dev/null +++ b/server/locale/en-US/libs/lua/table.lni @@ -0,0 +1,36 @@ +[concat] +description = [[ +-------- +```lua +return list[i]..sep..list[i+1] ··· sep..list[j] +``` +]] + +[insert] +description = 'Inserts element `value` at position `pos` in `list`.' + +[move] +description = [[ +Moves elements from table `a1` to table `a2`. +```lua +a2[t],··· = a1[f],···,a1[e] +return a2 +``` +]] + +[pack] +description = 'Returns a new table with all arguments stored into keys `1`, `2`, etc. and with a field `"n"` with the total number of arguments.' + +[remove] +description = 'Removes from `list` the element at position `pos`, returning the value of the removed element.' + +[sort] +description = 'Sorts list elements in a given order, *in-place*, from `list[1]` to `list[#list]`.' + +[unpack] +description = [[ +------- +```lua +return list[i], list[i+1], ···, list[j] +``` +]] |