is-number-object Codemod
Introduction
This codemod replaces the usage of the is-number-object npm module with a built-in JavaScript approach. It transforms the code to use Object.prototype.toString.call for checking if a value is a number, removing the dependency and enhancing performance by leveraging native capabilities.
Before
javascript
After
javascript