List Add - FireDragon91245/Lua-Linq GitHub Wiki

list:add

Appends an item to the end of the list in-place.

Overloads

list<T>:add(item: T)

Examples

local values = linq.list(1, 2)
values:add(3)
local names = linq.list("iron")
names:add("copper")