isValidInt property

bool isValidInt

Whether this big integer can be represented as an int without losing precision.

Warning: this function may give a different result on dart2js, dev compiler, and the VM, due to the differences in integer precision.

Implementation

bool get isValidInt;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-core/BigInt/isValidInt.html