code: def concat(
      xs: Union[
          Tuple[Union[ivy.Array, ivy.NativeArray], ...],
          List[Union[ivy.Array, ivy.NativeArray]],
      ],
      /,
      *,
      axis: int = 0,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Join a sequence of arrays along an existing axis.
  
      Parameters
      ----------
      xs
          input arrays to join. The arrays must have the same shape, except in the
          dimension specified by axis.
      axis
          axis along which the arrays will be joined. If axis is None, arrays are
          flattened before concatenation. If axis is negative, the axis is along which
          to join is determined by counting from the last dimension. Default: ``0``.
      out
          optional output array, for writing the result to. It must have a shape that the
          inputs broadcast to.
  
      Returns
      -------
      ret
          an output array containing the concatenated values. If the input arrays have
          different data types, normal Type Promotion Rules apply.
  
  
      This function conforms to the `Array API Standard
      <https://data-apis.org/array-api/latest/>`_. This docstring is an extension of the
      `docstring <https://data-apis.org/array-api/latest/
      API_specification/generated/array_api.concat.html>`_
      in the standard.
  
      Both the description and the type hints above assumes an array input for simplicity,
      but this function is *nestable*, and therefore also accepts :class:`ivy.Container`
      instances in place of any of the arguments.
  
      Examples
      --------
      >>> x = ivy.array([[1, 2], [3, 4]])
      >>> y = ivy.array([[5, 6]])
      >>> ivy.concat((x, y))
      ivy.array([[1, 2],[3, 4],[5, 6]])
      """
      return current_backend(xs[0]).concat(xs, axis=axis, out=out)
  
imports: from typing import Union, Optional, Tuple, List, Iterable, Sequence
  from numbers import Number
  from numpy.core.numeric import normalize_axis_tuple
  import ivy
  from ivy.utils.backend import current_backend
  from ivy.func_wrapper import handle_array_function, to_native_arrays_and_back, handle_out_argument, handle_nestable, handle_array_like_without_promotion, handle_view, handle_device, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 2 for calling a global function with example usage: concat() and returns: current_backend