Skip to content

Commit 67758cf

Browse files
committed
Update Convert.lua
1 parent c6d234f commit 67758cf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

SysLib/Convert.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ function Convert.ToBoolean(v)
1717
elseif _type == 'number' then
1818
return v ~= 0
1919
elseif _type == 'string' then
20-
local t = {
21-
['true'] = true,
22-
['false'] = false,
23-
}
2420
local str = v:ToLower()
2521
if str == "true" then
2622
return true

0 commit comments

Comments
 (0)