code: def _wrap_between(y, a):
      """Wrap y between [-a, a]"""
      a = ivy.array(a, dtype=y.dtype)
      a2 = ivy.array(2 * a, dtype=y.dtype)
      zero = ivy.array(0, dtype=y.dtype)
      rem = ivy.remainder(ivy.add(y, a), a2)
      rem = ivy.where(rem < zero, rem + a2, rem) - a
      return rem
  
imports: from typing import Union, Optional, Callable, Literal
  import ivy
  from ivy.utils.backend import current_backend
  from ivy.func_wrapper import handle_array_function, handle_out_argument, to_native_arrays_and_back, handle_nestable, handle_array_like_without_promotion, handle_device, handle_complex_input, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 10 for calling a global function with example usage: _wrap_between(y, a) and returns: rem