☰
Debian Codegraph
@
0.1.1-5.1
0.1.1-5
/
/
vendor
/
static
/
moment
/
src
/
lib
/
utils
/
is-number.js
☽
☼
vendor/static/moment/src/lib/utils/is-number.js
code
plain
raw
Expat
JS Foundation and other contributors; Tim Wood, Iskren Chernev, Moment.js contributors
debian/copyright
1
export default function isNumber(input) {
2
return (
3
typeof input === 'number' ||
4
Object.prototype.toString.call(input) === '[object Number]'
5
);
6
}