docstr: ivy.Array instance method variant of ivy.array_equal. This method
  simply wraps the function, and so the docstring for ivy.array_equal
  also applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array
  x
      input array to compare to ``self``
  
  Returns
  -------
  ret
      Boolean, whether or not the input arrays are equal
  
  Examples
  --------
  >>> x = ivy.array([-1,0])
  >>> y = ivy.array([1,0])
  >>> z = x.array_equal(y)
  >>> print(z)
  False
  
  >>> a = ivy.array([1, 2])
  >>> b = ivy.array([1, 2])
  >>> c = a.array_equal(b)
  >>> print(c)
  True
  
  >>> i = ivy.array([1, 2])
  >>> j = ivy.array([1, 2, 3])
  >>> k = i.array_equal(j)
  >>> print(k)
  False
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.array_equal",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.array_equal","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array","x","input","array","to","compare","to","``","self","``","Returns","--","--","--","-","ret","Boolean",",","whether","or","not","the","input","arrays","are","equal","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","-1,0","]",")",">",">",">","y","=","ivy.array","(","[","1,0","]",")",">",">",">","z","=","x.array_equal","(","y",")",">",">",">","print","(","z",")","False",">",">",">","a","=","ivy.array","(","[","1",",","2","]",")",">",">",">","b","=","ivy.array","(","[","1",",","2","]",")",">",">",">","c","=","a.array_equal","(","b",")",">",">",">","print","(","c",")","True",">",">",">","i","=","ivy.array","(","[","1",",","2","]",")",">",">",">","j","=","ivy.array","(","[","1",",","2",",","3","]",")",">",">",">","k","=","i.array_equal","(","j",")",">",">",">","print","(","k",")","False"]
code: def array_equal(
      self: ivy.Array, x: Union[ivy.Array, ivy.NativeArray], /
  ) -> bool:
      """ivy.Array instance method variant of ivy.array_equal. This method
      simply wraps the function, and so the docstring for ivy.array_equal
      also applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array
      x
          input array to compare to ``self``
  
      Returns
      -------
      ret
          Boolean, whether or not the input arrays are equal
  
      Examples
      --------
      >>> x = ivy.array([-1,0])
      >>> y = ivy.array([1,0])
      >>> z = x.array_equal(y)
      >>> print(z)
      False
  
      >>> a = ivy.array([1, 2])
      >>> b = ivy.array([1, 2])
      >>> c = a.array_equal(b)
      >>> print(c)
      True
  
      >>> i = ivy.array([1, 2])
      >>> j = ivy.array([1, 2, 3])
      >>> k = i.array_equal(j)
      >>> print(k)
      False
      """
      return ivy.array_equal(self, x)
  
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 20 for calling the _ArrayWithGeneral obj's underlying member method code with example usage: obj.array_equal() and returns: ivy