docstr: `ivy.Array` instance method variant of `ivy.result_type`. This
  method simply wraps the function, and so the docstring for
  `ivy.result_type` also applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array from which to cast.
  arrays_and_dtypes
      an arbitrary number of input arrays and/or dtypes.
  
  Returns
  -------
  ret
      the dtype resulting from an operation involving the input arrays and dtypes.
  
  Examples
  --------
  >>> x = ivy.array([0, 1, 2])
  >>> print(x.dtype)
  int32
  
  >>> x.result_type(ivy.float64)
  <dtype:'float64'>
docstr_tok: ["`","ivy.Array","`","instance","method","variant","of","`","ivy.result_type","`",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","`","ivy.result_type","`","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array","from","which","to","cast",".","arrays_and_dtypes","an","arbitrary","number","of","input","arrays","and\/or","dtypes",".","Returns","--","--","--","-","ret","the","dtype","resulting","from","an","operation","involving","the","input","arrays","and","dtypes",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","0",",","1",",","2","]",")",">",">",">","print","(","x.dtype",")","int32",">",">",">","x.result_type","(","ivy.float64",")","<","dtype",":","'float64","'",">"]
code: def result_type(
      self: ivy.Array,
      *arrays_and_dtypes: Union[ivy.Array, ivy.NativeArray, ivy.Dtype],
  ) -> ivy.Dtype:
      """`ivy.Array` instance method variant of `ivy.result_type`. This
      method simply wraps the function, and so the docstring for
      `ivy.result_type` also applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array from which to cast.
      arrays_and_dtypes
          an arbitrary number of input arrays and/or dtypes.
  
      Returns
      -------
      ret
          the dtype resulting from an operation involving the input arrays and dtypes.
  
      Examples
      --------
      >>> x = ivy.array([0, 1, 2])
      >>> print(x.dtype)
      int32
  
      >>> x.result_type(ivy.float64)
      <dtype:'float64'>
      """
      return ivy.result_type(self._data, *arrays_and_dtypes)
  
file_path: ivy/ivy/data_classes/array/data_type.py
imports: import abc
  from typing import Tuple, Optional, List, Union
  import ivy
label_desc: Use image node_id 12 for calling the _ArrayWithDataTypes obj's underlying member method code with example usage: obj.result_type() and returns: ivy