Getting Started
Working with ODL
Developer zone
Useful facts
API Reference
FiniteSet.
__contains__
Return other in self.
other in self
True if other is an element in elements, False otherwise.
True
other
elements
False
Examples
>>> set = odl.FiniteSet(1, 'string') >>> 1 in set True >>> 2 in set False >>> 'string' in set True