code: def fn_array_spec(fn):
      """Return a specification of the function, indicating all arguments which
      include arrays, and the indexes of these.
  
      Parameters
      ----------
      fn
          function to inspect
  
      Returns
      -------
      ret
          specification
      """
      try:  # this is because it raises error if python version 3.8.0, in certain cases
          type_hints = get_type_hints(fn)
      except Exception:
          type_hints = {}
      array_idxs = []
      for i, (k, v) in enumerate(type_hints.items()):
          a_idxs = _get_array_idxs(v)
          if not a_idxs:
              continue
          a_idxs = [[(i, k)] + a for a in a_idxs]
          array_idxs += a_idxs
      return array_idxs
  
file_path: ivy/ivy/utils/inspection.py
imports: from typing import get_type_hints
  import ivy
label_desc: Use image node_id 7 for calling a global function with example usage: fn_array_spec(fn) and returns: array_idxs