mirror of
https://github.com/TangentFoxy/lume.git
synced 2025-07-29 19:42:20 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f6174a4b68 | ||
|
d99bf9549a |
4
lume.lua
4
lume.lua
@@ -7,7 +7,7 @@
|
|||||||
-- under the terms of the MIT license. See LICENSE for details.
|
-- under the terms of the MIT license. See LICENSE for details.
|
||||||
--
|
--
|
||||||
|
|
||||||
local lume = { _version = "1.4.0" }
|
local lume = { _version = "1.4.1" }
|
||||||
|
|
||||||
local pairs, ipairs = pairs, ipairs
|
local pairs, ipairs = pairs, ipairs
|
||||||
local type, assert, unpack = type, assert, unpack or table.unpack
|
local type, assert, unpack = type, assert, unpack or table.unpack
|
||||||
@@ -121,7 +121,7 @@ end
|
|||||||
|
|
||||||
function lume.array(...)
|
function lume.array(...)
|
||||||
local t = {}
|
local t = {}
|
||||||
for x in unpack({...}) do t[#t + 1] = x end
|
for x in ... do t[#t + 1] = x end
|
||||||
return t
|
return t
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user