Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __gt__(self, other):
return Bool._from_apply("gt", self, other)
def __gt__(self, other):
return Bool._from_apply("gt", self, other)
def __lt__(self, other):
return Bool._from_apply("lt", self, other)
def __ge__(self, other):
return Bool._from_apply("ge", self, other)
def contains(self, other):
"""Contains is equivalient to the Python ``in`` operator.
Parameters
----------
other : Proxytype
A Proxytype or type that can be promoted to a Proxytype
Returns
-------
Bool
A Bool Proxytype
"""
return Bool._from_apply("contains", self, other)
def __ne__(self, other):
return Bool._from_apply("ne", self, other)
def __ne__(self, other):
return Bool._from_apply("ne", self, other)
def __eq__(self, other):
return Bool._from_apply("eq", self, other)