fix table.empty, from auios
This commit is contained in:
BIN
BlockLua.dll
BIN
BlockLua.dll
Binary file not shown.
@@ -5,7 +5,7 @@
|
||||
-- Table / List
|
||||
-- Whether a table contains no keys
|
||||
function table.empty(t)
|
||||
return next(t)~=nil
|
||||
return next(t)==nil
|
||||
end
|
||||
-- Apply a function to each key in a table
|
||||
function table.map(f, ...)
|
||||
|
||||
Reference in New Issue
Block a user