UNPKG

@unclepaul/allcountjs

Version:

The open source framework for rapid business application development with Node.js

4 lines (3 loc) 148 B
export default function isNumber(input) { return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]'; }