Closed samreid closed 3 years ago
Pushed and ready for review. Most conversions were straightforward Utils.isInteger=>Number.isInteger
, and in some cases removing the Utils
import. Dot had a different commit because it also removed the function, and updated documentation. @ariel-phet can you please request a reviewer?
@chrisklus is on the case
Commits look good, updated docs/Utils look good, and I can't find any missed usages. Thanks @samreid, back to you.
Thanks for the review, closing.
Utils.isInteger was written to support IE since IE doesn't have
Number.isInteger
. Now that we no longer support IE, we can eliminateUtils.isInteger
and useNumber.isInteger
.See also https://github.com/phetsims/tasks/issues/1037 and https://github.com/phetsims/tasks/issues/1039