is-number.js 145 Bytes Raw Blame History Permalink 1 2 3 export default function isNumber(input) { return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]'; }