added missing quotation marks

This commit is contained in:
VorTechnix 2021-11-07 07:36:43 -08:00
parent 0352595e41
commit 54268431b5
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
local function to_boolean(arg)
local typ = type(arg)
if typ == "boolean" then return arg
elseif typ == number and arg > 0 then return true
elseif typ == "number" and arg > 0 then return true
elseif arg == "false" or arg == "no" then return false
elseif typ ~= "nil" then return true
else return false end