Skip to content

Check if a number or a string is a digit in the octal numeral system

License

Notifications You must be signed in to change notification settings

arthurvr/is-octal-digit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

const isOctalDigit = require('is-octal-digit');

isOctalDigit(0);
//=> true

isOctalDigit('2');
//=> true

isOctalDigit('abc');
//=> false

isOctalDigit('9');
//=> false

isOctalDigit('01');
//=> false

License

MIT © Arthur Verschaeve

About

Check if a number or a string is a digit in the octal numeral system

Resources

License

Stars

Watchers

Forks

Packages

No packages published