mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Version 1.1.2
This commit is contained in:
parent
cbff46bdfb
commit
a4fe134985
4
lume.lua
4
lume.lua
@ -7,7 +7,7 @@
|
||||
-- under the terms of the MIT license. See LICENSE for details.
|
||||
--
|
||||
|
||||
local lume = { _version = "1.1.1" }
|
||||
local lume = { _version = "1.1.2" }
|
||||
|
||||
|
||||
function lume.clamp(x, min, max)
|
||||
@ -76,7 +76,6 @@ function lume.shuffle(t)
|
||||
end
|
||||
|
||||
|
||||
|
||||
function lume.array(...)
|
||||
local t = {}
|
||||
for x in unpack({...}) do t[#t + 1] = x end
|
||||
@ -153,7 +152,6 @@ function lume.merge(t, t2, retainkeys)
|
||||
end
|
||||
|
||||
|
||||
|
||||
function lume.find(t, value)
|
||||
for k, v in pairs(t) do
|
||||
if v == value then return k end
|
||||
|
Loading…
Reference in New Issue
Block a user