1.0.0 • Published 9 years ago
is-octal-digit v1.0.0
is-octal-digit
Check if a number or a string is a digit in the octal numeral system digit
Install
$ npm install --save is-octal-digit
Usage
var isOctalDigit = require('is-octal-digit');
isOctalDigit(0);
//=> true
isOctalDigit('2');
//=> true
isOctalDigit('abc');
//=> false
isOctalDigit('9');
//=> false
isOctalDigit('01');
//=> false
License
MIT © Arthur Verschaeve
1.0.0
9 years ago