rx/core/observablebase.py
def contains(self, value: Any, comparer=None) -> 'ObservableBase':
        """Determines whether an observable sequence contains a
        specified element with an optional equality comparer.

        Examples:
            >>> res = source.contains(42)
            >>> res = source.contains({ "value": 42 }, lambda x, y: x["value"] == y["value")

        Args:
            value: The value to locate in the source sequence.
            comparer: An equality comparer to compare elements.

        Returns:
            An observable  sequence containing a single element
            determining whether the source sequence contains an element
            that has the specified value.
        """
        from ..operators.observable.contains import contains
        return contains(self, value, comparer)
Determines whether an observable sequence contains a
        specified element with an optional equality comparer.

        Examples:
            >>> res = source.contains(42)
            >>> res = source.contains({ "value": 42 }, lambda x, y: x["value"] == y["value")

        Args:
            value: The value to locate in the source sequence.
            comparer: An equality comparer to compare elements.

        Returns:
            An observable  sequence containing a single element
            determining whether the source sequence contains an element
            that has the specified value.
        
Determines whether an observable sequence contains a
specified element with an optional equality comparer.
Determines whether an observable sequence contains a specified element with an optional equality comparer .
def contains(self, value: Any, comparer=None) -> 'ObservableBase':
        from ..operators.observable.contains import contains
        return contains(self, value, comparer)
def contains ( self , value : Any , comparer = None ) -> 'ObservableBase' : from . . operators . observable . contains import contains return contains ( self , value , comparer )
Determines whether an observable sequence contains a
specified element with an optional equality comparer.
Determines whether an observable sequence contains a specified element with an optional equality comparer .
"""Determines whether an observable sequence contains a
        specified element with an optional equality comparer.

        Examples:
            >>> res = source.contains(42)
            >>> res = source.contains({ "value": 42 }, lambda x, y: x["value"] == y["value")

        Args:
            value: The value to locate in the source sequence.
            comparer: An equality comparer to compare elements.

        Returns:
            An observable  sequence containing a single element
            determining whether the source sequence contains an element
            that has the specified value.
        """
An observable  sequence containing a single element
determining whether the source sequence contains an element
that has the specified value.
An observable sequence containing a single element determining whether the source sequence contains an element that has the specified value .
self
value
Any
The value to locate in the source sequence.
The value to locate in the source sequence .
comparer
An equality comparer to compare elements.
An equality comparer to compare elements .
examples
None