is-digit
v1.0.2
Published
Check something is digit
Readme
is-digit 
Check something is digit
Install
# yarn (recommed)
$ yarn add is-digit
# npm
$ npm install --save is-digitUsage
const isDigit = require('is-digit')
isDigit('9')
//=> true
isDigit(' ')
//=> false
isDigit(8)
//=> trueAPI
isDigit(input)
input
Type: Any string, number, object, array
License
MIT © Dang Van Thanh
