code: def iinfo(type: Union[Dtype, Array], /) -> iinfo_object:
      """
      Array API compatible wrapper for :py:func:`np.iinfo <numpy.iinfo>`.
  
      See its docstring for more information.
      """
      ii = np.iinfo(type)  # type: ignore
      return iinfo_object(ii.bits, ii.max, ii.min)
  
file_path: cupy/cupy/array_api/_data_type_functions.py
imports: from __future__ import annotations
  from ._array_object import Array
  from ._dtypes import _all_dtypes, _result_type
  from dataclasses import dataclass
  from typing import TYPE_CHECKING, List, Tuple, Union
  import cupy
label_desc: Use image node_id 6 for calling a global function with example usage: iinfo() and returns: iinfo_object