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