isnan ("is not a number") function
Syntax
bool   isnan(value)
bool[] isnan(values)
Parameters
- value (float)
- values (float[])
Returns
true if value is not a number, false otherwise.
For an array values a new array is returned containing the result of each element.
Related
Examples
isnan(1) # result = false isnan(ln(-1)) # result = true isnan(float("a")) # result = true isnan([1, ln(-1)]) # result = [false, true]
Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.