Number isFinite Property

  • Post author:
  • Post category:Dart
  • Post comments:2 Comments
Number isFinite Property

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

This Post Has 2 Comments

Leave a Reply