Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 8a49613

Browse files
committed
Update average.md
1 parent 037234d commit 8a49613

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/api/core/operators/average.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
### `Rx.Observable.prototype.average([selector])`
1+
### `Rx.Observable.prototype.average([selector], [thisArg])`
22
[Ⓢ](https://github.com/Reactive-Extensions/RxJS/blob/master/src/core/linq/observable/average.js "View in source")
33

44
Computes the average of an observable sequence of values that are in the sequence or obtained by invoking a transform function on each element of the input sequence if present.
55

66
#### Arguments
77
1. `[selector]` *(`Function`)*: A transform function to apply to each element.
8+
2. `[thisArg]` *(`Any`)*: Object to use as `this` when executing `selector`.
89

910
#### Returns
1011
*(`Observable`)*: An observable sequence containing a single element with the average of the sequence of values.

0 commit comments

Comments
 (0)