isnan¶
- isnan(x: array, /) array¶
Tests each element
x_iof the input arrayxto 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_iisTrueifx_iisNaNandFalseotherwise. The returned array should have a data type ofbool.