isnan¶
- isnan(x: array, /) array ¶
Tests each element
x_i
of the input arrayx
to determine whether the element isNaN
.- Parameters:
x (array) – input array. Should have a numeric data type.
- Returns:
out (array) – an array containing test results. An element
out_i
isTrue
ifx_i
isNaN
andFalse
otherwise. The returned array should have a data type ofbool
.