Methods
isBigInt(value) → {Boolean}
Returns if a value is a BigInt value.
Parameters:
Name | Type | Description |
---|---|---|
value |
* | the value to check |
Returns:
true if value is a BigInt
- Type
- Boolean
Example
if( isBigInt(val) ){
console.log('this is a really huge number!');
}