amitesh11's picture
Upload 3019 files
369fac9 verified
raw
history blame contribute delete
250 Bytes
import { truncate, truncator } from './helpers'
export default function inspectBigInt(number, options) {
let nums = truncate(number.toString(), options.truncate - 1)
if (nums !== truncator) nums += 'n'
return options.stylize(nums, 'bigint')
}