Default severity: error
Negating a boolean twice produces the original value. The expression is either
redundant or contains a mistaken extra !.
Bad
return !!readyGood
return readyRemove redundant double boolean negation.
Default severity: error
Negating a boolean twice produces the original value. The expression is either
redundant or contains a mistaken extra !.
return !!readyreturn ready