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