2,875
edits
m (titleCase: Better describe function) |
m (Ammend compareString function, converting inputs to strings) |
||
Line 430: | Line 430: | ||
if left == nil or right == nil then return false end | if left == nil or right == nil then return false end | ||
-- Convert inputs to strings, just in case | |||
left = tostring(left) | |||
right = tostring(right) | |||
if ignoreCase == true then | if ignoreCase == true then | ||
return left:upper() == right:upper() | return left:upper() == right:upper() |
edits