aboutsummaryrefslogtreecommitdiff
path: root/utils.moon
diff options
context:
space:
mode:
Diffstat (limited to 'utils.moon')
-rw-r--r--utils.moon1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.moon b/utils.moon
index 471b28e..87cd5a3 100644
--- a/utils.moon
+++ b/utils.moon
@@ -1,6 +1,7 @@
local utils
utils = {
is_list: (t)->
+ if type(t) != 'table' then return false
i = 1
for _ in pairs(t)
if t[i] == nil then return false