isSafeIntegerByBigInt method

bool isSafeIntegerByBigInt(
  1. BigInt n
)

Returns true if n is a safe int.

Implementation

bool isSafeIntegerByBigInt(BigInt n) {
  return n <= _maxSafeBigInt && n >= _minSafeBigInt;
}