PageRenderTime 18ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/moment/src/lib/utils/is-number.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 3 lines | 3 code | 0 blank | 0 comment | 1 complexity | 62b5a34eb049c0868396e8504158059b MD5 | raw file
1export default function isNumber(input) {
2    return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';
3}