Namespace: Basic:isBigInt

Basic:isBigInt

Source:

Methods

isBigInt(value) → {Boolean}

Returns if a value is a BigInt value.

Parameters:
Name Type Description
value *

the value to check

Source:
Returns:
true if value is a BigInt
Type
Boolean
Example
if( isBigInt(val) ){
  console.log('this is a really huge number!');
}