Need private packages and team management tools?Check out npm Teams »

is-octal-digit

1.0.0 • Public • Published

is-octal-digit Build Status

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

Install

npm i is-octal-digit

DownloadsWeekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar