def equal(self, other): """Build an equal check expression with other expr. Parameters ---------- other : PrimExpr The other expression Returns ------- ret : PrimExpr The equality expression. """ return _ffi_api._OpEQ(self, other)
def equal(self, other, span=None): """Build an equal check expression with other expr. Parameters ---------- other : PrimExpr The other expression span : Optional[Span] The location of the cast in the source. Returns ------- ret : PrimExpr The equality expression. """ return _ffi_api._OpEQ(self, other, span) # type: ignore
def __eq__(self, other): return _ffi_api._OpEQ(self, other)
def asobject(self): """Convert object.""" return _ffi_api._OpEQ(self.a, self.b)
def __eq__(self, other): return _ffi_api._OpEQ(self, other, None) # type: ignore
def asobject(self): """Convert object.""" return _ffi_api._OpEQ(self.a, self.b, self.span) # type: ignore