UNPKG

@numio/bigmath

Version:

@numio/bigmath is an arbitrary-precision arithmetic library. It can be used for basic operations with decimal numbers (integers and float)

4 lines (3 loc) 77 B
export const isOctal = (str) => { return /^-?(0o)[0-7]+$/i.test(str); };