is-digit
Check something is digit
Install
# yarn (recommed) $ yarn add is-digit # npm $ npm install --save is-digit
Usage
const isDigit = //=> true//=> false//=> true
API
isDigit(input)
input
Type: Any string
, number
, object
, array
License
MIT © Dang Van Thanh