mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
Remove print
This commit is contained in:
parent
a4e80eb114
commit
3d328c1d42
1 changed files with 4 additions and 0 deletions
|
|
@ -89,6 +89,10 @@ local function trueEquals(a, b): boolean
|
|||
end
|
||||
return true
|
||||
|
||||
-- For NaN, check if both values are not equal to themselves
|
||||
elseif a ~= a and b ~= b then
|
||||
return true
|
||||
|
||||
-- For numbers, compare with epsilon of 0.0001 to avoid floating point inequality
|
||||
elseif typeA == "number" and typeB == "number" then
|
||||
return fuzzyEq(a, b, 0.0001)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue