Repository navigation
Concat
Dennis Corvers edited this page Oct 23, 2026
·
2 revisions
Concatenates the current Enumerable with a second iterable.
combined = source:concat(second)| Parameter | Type | Description |
|---|---|---|
second |
iterable | Values to enumerate after the source ends. |
A deferred Enumerable that yields the source values followed by the values
from second.
The second argument may be a Lua table or another supported iterable. Source ordering is preserved within each input.
local combined = LuaQ.from({
{ name = "Ada", role = "mage" },
{ name = "Bryn", role = "ranger" },
})
:concat({
{ name = "Cato", role = "mage" },
})
:toTable()
-- The second party list follows the first- Home
- Getting Started
-
Functions
- aggregate
- all
- any
- concat
- contains
- count
- create
- createFrom
- deepCopy
- difference
- elementAt
- elementAtOrDefault
- first
- firstOrDefault
- flatMap
- foreach
- groupBy
- groupByResult
- indexOf
- intersect
- ipairs
- last
- lastOrDefault
- map
- max
- min
- pairs
- sequenceEquals
- single
- singleOrDefault
- sort
- sortBy
- sortByDescending
- sortDescending
- sum
- take
- takeWhile
- thenBy
- thenByDecending
- toLookup
- toMap
- toSet
- toTable
- union
- unique
- where
- zip
- Aliases