Should strings with a number and whitespaces pass?
vladshcherbin opened this issue · 2 comments
vladshcherbin commented
Hey, should a string with whitespaces be a number:
var isNumber = require('is-number')
console.log(isNumber(' 3 ')) // -> trueI'd expect it to be false.
vladshcherbin commented
Sorry, my bad 🤦♂️
jonschlinkert commented
@vladshcherbin don't feel bad, this was a perfectly valid question. thanks for the issue