|
@@ -24,6 +24,7 @@ RxLua
|
|
- [combineLatest](#combinelatestobservables-combinator)
|
|
- [combineLatest](#combinelatestobservables-combinator)
|
|
- [compact](#compact)
|
|
- [compact](#compact)
|
|
- [concat](#concatsources)
|
|
- [concat](#concatsources)
|
|
|
|
+ - [count](#countpredicate)
|
|
- [distinct](#distinct)
|
|
- [distinct](#distinct)
|
|
- [distinctUntilChanged](#distinctuntilchangedcomparator)
|
|
- [distinctUntilChanged](#distinctuntilchangedcomparator)
|
|
- [filter](#filterpredicate)
|
|
- [filter](#filterpredicate)
|
|
@@ -272,6 +273,16 @@ Returns a new Observable that produces the values produced by all the specified
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
+#### `:count(predicate)`
|
|
|
|
+
|
|
|
|
+Returns an Observable that produces a single value representing the number of values produced by the source value that satisfy an optional predicate.
|
|
|
|
+
|
|
|
|
+| Name | Type | Default | Description |
|
|
|
|
+|------|------|---------|-------------|
|
|
|
|
+| `predicate` | function (optional) | | The predicate used to match values. |
|
|
|
|
+
|
|
|
|
+---
|
|
|
|
+
|
|
#### `:distinct()`
|
|
#### `:distinct()`
|
|
|
|
|
|
Returns a new Observable that produces the values from the original with duplicates removed.
|
|
Returns a new Observable that produces the values from the original with duplicates removed.
|