parameters: (dtype)
docstring: A generic isnan() function
docstring_summary: A generic isnan() function
docstring_tokens: A generic isnan () function
function: def get_isnan(dtype):
      """
      A generic isnan() function
      """
      if isinstance(dtype, (types.Float, types.Complex)):
          return np.isnan
      else:
          @register_jitable
          def _trivial_isnan(x):
              return False
          return _trivial_isnan
function_tokens: def get_isnan ( dtype ) : if isinstance ( dtype , ( types . Float , types . Complex ) ) : return np . isnan else : @ register_jitable def _trivial_isnan ( x ) : return False return _trivial_isnan