code: def stack(
      arrays: tuple[Array, ...] | list[Array], /, *, axis: int = 0
  ) -> Array:
      """Joins a sequence of arrays along a new axis."""
      dtype = _result_type(*arrays)
      return jax.numpy.stack(arrays, axis=axis, dtype=dtype)
  
file_path: jax/jax/experimental/array_api/_manipulation_functions.py
imports: from __future__ import annotations
  import jax
  from jax import Array
  from jax.experimental.array_api._data_type_functions import result_type
label_desc: Use image node_id 10 for calling a global function with example usage: stack() and returns: jax