parameters: (vals)
return_statement: return False
docstring: Check numpy or pg.Vector if have complex data type
docstring_summary: Check numpy or pg.Vector if have complex data type
docstring_tokens: Check numpy or pg . Vector if have complex data type
function: def isComplex(vals):
      """Check numpy or pg.Vector if have complex data type"""
      if isScalar(vals):
          if isinstance(vals, (np.complex128, complex)):
              return True
      elif isArray(vals):
          return isComplex(vals[0])
      return False
function_tokens: def isComplex ( vals ) : if isScalar ( vals ) : if isinstance ( vals , ( np . complex128 , complex ) ) : return True elif isArray ( vals ) : return isComplex ( vals [ 0 ] ) return False