Returns an Observable that emits true if every item emitted by the source Observable satisfies a specified condition, otherwise false. Emits true if the source Observable terminates without emitting any item.
More...
Go to the source code of this file.
|
| template<class... AN> |
| auto | rxcpp::operators::all (AN &&...an) -> operator_factory< all_tag, AN... > |
| | Returns an Observable that emits true if every item emitted by the source Observable satisfies a specified condition, otherwise false. Emits true if the source Observable terminates without emitting any item. More...
|
| |
| template<class... AN> |
| auto | rxcpp::operators::is_empty (AN &&...an) -> operator_factory< is_empty_tag, AN... > |
| | Returns an Observable that emits true if the source Observable is empty, otherwise false. More...
|
| |
Returns an Observable that emits true if every item emitted by the source Observable satisfies a specified condition, otherwise false. Emits true if the source Observable terminates without emitting any item.
- Template Parameters
-
| Predicate | the type of the test function. |
- Parameters
-
| p | the test function to test items emitted by the source Observable. |
- Returns
- Observable that emits true if every item emitted by the source observable satisfies a specified condition, otherwise false.
- Sample Code
values.
[](bool v) { printf("OnNext: %s\n", v ? "true" : "false"); },
[]() { printf("OnCompleted\n"); });
| #define RXCPP_OPERATORS_RX_ALL_HPP |