Preparing search index...
The search index is not available
itr8
itr8
operators
average
Function average
average
(
)
:
TTransIteratorSyncOrAsync
<
number
,
number
>
Output the average.
Example
pipe
(
itr8Range
(
1
,
100
),
average
(),
// => [ 50 ]
);
Returns
TTransIteratorSyncOrAsync
<
number
,
number
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
itr8
Change
Log
Roadmap
index
interface
operators
peer
util
average
branch
And
Merge
debounce
dedup
delay
distribute
every
filter
flat
Map
flatten
group
Per
identity
intersperse
line
By
Line
map
max
min
most
Recent
parallel
peek
percentile
power
Map
prefetch
reduce
repeat
repeat
Each
running
Average
running
Percentile
running
Reduce
running
Total
skip
skip
While
some
sort
split
string
To
Char
take
take
While
tap
throttle
total
uniq
uniq
By
zip
Generated using
TypeDoc
Output the average.
Example