code: def real(x):
      out = _np.real(x)
      if is_array(x):
          return out
  
      return array(out)
  
imports: from ._dispatch import BACKEND_NAME, _common
  from ._dispatch import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: real(x) and returns: array, out