export is_table_empty from utils module
This commit is contained in:
parent
e8345a3be6
commit
8623f53d9d
|
@ -1,7 +1,7 @@
|
|||
local _M = {}
|
||||
|
||||
-- utility function for checking if table is empty
|
||||
function is_table_empty(check)
|
||||
function _M.is_table_empty(check)
|
||||
-- bind next to local variable to achieve ultimate efficiency
|
||||
-- https://stackoverflow.com/a/1252776
|
||||
local next = next
|
||||
|
|
Reference in New Issue