JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.
- number
- is
- isnan
- javascript
104,105 visible repositories in the index
1–2 of 2 · Most stars
JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.
Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.