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...
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\n
values.
[](bool v) { printf("OnNext: %s\n", v ? "true" : "false"); },
[]() { printf("OnCompleted\n"); });