txt: ## isnan.md
  isNaN
  
  Combined from primary sources listed below.
  
  # [In role Rational](#___top "go to top of document")[§](#(role_Rational)_method_isNaN "direct link")
  
  See primary documentation
  [in context](/type/Rational#method_isNaN)
  for **method isNaN**.
  
  ```raku
  method isNaN(Rational:D: --> Bool:D)
  ```
  
  Tests whether the invocant's Num value is a NaN, an acronym for *Not available Number*. That is both its numerator and denominator are zero.
  
  # [In Complex](#___top "go to top of document")[§](#(Complex)_method_isNaN "direct link")
  
  See primary documentation
  [in context](/type/Complex#method_isNaN)
  for **method isNaN**.
  
  ```raku
  method isNaN(Complex:D: --> Bool:D)
  ```
  
  Returns true if the real or imaginary part is [`NaN`](/type/Num#NaN) (not a number).
  
  ```raku
  say (NaN+5i).isNaN; # OUTPUT: «True␤»
  say (7+5i).isNaN;   # OUTPUT: «False␤»
  ```
  