code: def real(val):
      return ivy.real(val)
  
imports: import ivy
  from ivy.functional.frontends.numpy.func_wrapper import to_ivy_arrays_and_back, handle_numpy_out, handle_numpy_dtype, handle_numpy_casting, from_zero_dim_arrays_to_scalar
label_desc: Use image node_id 4 for calling a global function with example usage: real(val) and returns: ivy