
In this guide, we will discuss Number isFinite Property. The property returns a Boolean value true if the number is not a NaN or positive infinity or negative infinity.
Syntax
num.isFinite
Example
void main() { int n = 5000; print(n.isFinite); }
It will produce the following output −
true
Next Topic : Click Here
Pingback: Number hashcode Property | Adglob Infosystem Pvt Ltd
Pingback: Dart Programming - Numbers | Adglob Infosystem Pvt Ltd