docstr: ivy.Array instance method variant of ivy.all_equal. This method
  simply wraps the function, and so the docstring for ivy.all_equal also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array
  x2
      input iterable to compare to ``self``
  equality_matrix
      Whether to return a matrix of equalities comparing each input with every
      other. Default is ``False``.
  
  Returns
  -------
  ret
      Boolean, whether or not the inputs are equal, or matrix array of booleans if
      equality_matrix=True is set.
  
  Examples
  --------
  >>> x1 = ivy.array([1, 1, 0, 0, 1, -1])
  >>> x2 = ivy.array([1, 1, 0, 0, 1, -1])
  >>> y = x1.all_equal(x2)
  >>> print(y)
  True
  
  >>> x1 = ivy.array([0, 0])
  >>> x2 = ivy.array([0, 0])
  >>> x3 = ivy.array([1, 0])
  >>> y = x1.all_equal(x2, x3, equality_matrix=True)
  >>> print(y)
  ivy.array([[ True,  True, False],
     [ True,  True, False],
     [False, False,  True]])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.all_equal",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.all_equal","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array","x2","input","iterable","to","compare","to","``","self","``","equality_matrix","Whether","to","return","a","matrix","of","equalities","comparing","each","input","with","every","other",".","Default","is","``","False","``",".","Returns","--","--","--","-","ret","Boolean",",","whether","or","not","the","inputs","are","equal",",","or","matrix","array","of","booleans","if","equality_matrix=True","is","set",".","Examples","--","--","--","--",">",">",">","x1","=","ivy.array","(","[","1",",","1",",","0",",","0",",","1",",","-1","]",")",">",">",">","x2","=","ivy.array","(","[","1",",","1",",","0",",","0",",","1",",","-1","]",")",">",">",">","y","=","x1.all_equal","(","x2",")",">",">",">","print","(","y",")","True",">",">",">","x1","=","ivy.array","(","[","0",",","0","]",")",">",">",">","x2","=","ivy.array","(","[","0",",","0","]",")",">",">",">","x3","=","ivy.array","(","[","1",",","0","]",")",">",">",">","y","=","x1.all_equal","(","x2",",","x3",",","equality_matrix=True",")",">",">",">","print","(","y",")","ivy.array","(","[","[","True",",","True",",","False","]",",","[","True",",","True",",","False","]",",","[","False",",","False",",","True","]","]",")"]
code: def all_equal(
      self: ivy.Array, *x2: Iterable[Any], equality_matrix: bool = False
  ) -> Union[bool, ivy.Array, ivy.NativeArray]:
      """ivy.Array instance method variant of ivy.all_equal. This method
      simply wraps the function, and so the docstring for ivy.all_equal also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array
      x2
          input iterable to compare to ``self``
      equality_matrix
          Whether to return a matrix of equalities comparing each input with every
          other. Default is ``False``.
  
      Returns
      -------
      ret
          Boolean, whether or not the inputs are equal, or matrix array of booleans if
          equality_matrix=True is set.
  
      Examples
      --------
      >>> x1 = ivy.array([1, 1, 0, 0, 1, -1])
      >>> x2 = ivy.array([1, 1, 0, 0, 1, -1])
      >>> y = x1.all_equal(x2)
      >>> print(y)
      True
  
      >>> x1 = ivy.array([0, 0])
      >>> x2 = ivy.array([0, 0])
      >>> x3 = ivy.array([1, 0])
      >>> y = x1.all_equal(x2, x3, equality_matrix=True)
      >>> print(y)
      ivy.array([[ True,  True, False],
         [ True,  True, False],
         [False, False,  True]])
      """
      arrays = [self] + [x for x in x2]
      return ivy.all_equal(*arrays, equality_matrix=equality_matrix)
  
imports: import abc
  import numpy
  from numbers import Number
  from typing import Any, Iterable, Union, Optional, Dict, Callable, List, Tuple
  import ivy
label_desc: Use image node_id 5 for calling the _ArrayWithGeneral obj's underlying member method code with example usage: obj.all_equal() and returns: ivy