summaryrefslogtreecommitdiff
path: root/server/locale/en-US/libs/lua/table.lni
blob: 5f5454d34b71a3f33b11c3b09e488c0a2df90a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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]
```
]]