Performs the operation __ne__.
(self: Array, other: Union[int, float, bool, Array], /)
| 670 | return self.__class__._new(res) |
| 671 | |
| 672 | def __ne__(self: Array, other: Union[int, float, bool, Array], /) -> Array: |
| 673 | """ |
| 674 | Performs the operation __ne__. |
| 675 | """ |
| 676 | other = self._check_allowed_dtypes(other, "all", "__ne__") |
| 677 | if other is NotImplemented: |
| 678 | return other |
| 679 | self, other = self._normalize_two_args(self, other) |
| 680 | res = self._array.__ne__(other._array) |
| 681 | return self.__class__._new(res) |
| 682 | |
| 683 | def __neg__(self: Array, /) -> Array: |
| 684 | """ |
nothing calls this directly
no test coverage detected