code: def erfc(
      x: Union[ivy.Array, ivy.NativeArray],
      /,
      *,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """
      Complementary error function, 1 - erf(x)
  
      Parameters
      ----------
      x
          Input array of real or complex valued argument.
      out
          optional output array, for writing the result to.
          It must have a shape that the inputs broadcast to.
  
      Returns
      -------
      ret
          Values of the complementary error function.
  
      Examples
      --------
      >>> x = ivy.array([2, -1., 0])
      >>> ivy.erfc(x)
      ivy.array([0.00467773, 1.84270084, 1.        ])
      """
      return ivy.current_backend(x).erfc(x, out=out)
  
imports: from typing import Optional, Union, Tuple, List, Sequence
  from numbers import Number
  import ivy
  from ivy.func_wrapper import handle_out_argument, to_native_arrays_and_back, handle_nestable, handle_partial_mixed_function, handle_array_like_without_promotion, inputs_to_ivy_arrays, handle_array_function, infer_dtype, handle_device, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 28 for calling a global function with example usage: erfc() and returns: ivy