Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
components/number-counter
NumberCounter
Class NumberCounter
Hierarchy
NumberCounter
Index
Constructors
constructor
Properties
max
min
numbers
sum
Methods
add
add
All
get
Average
get
Count
get
Max
get
Min
Constructors
constructor
new
Number
Counter
(
)
:
NumberCounter
Returns
NumberCounter
Properties
Private
max
max
:
number
= -Infinity
Private
min
min
:
number
= ...
Private
Readonly
numbers
numbers
:
number
[]
= []
Private
sum
sum
:
number
= 0
Methods
add
add
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
add
All
add
All
(
items
:
number
[]
)
:
void
Parameters
items:
number
[]
Returns
void
get
Average
get
Average
(
)
:
number
Returns
number
get
Count
get
Count
(
)
:
number
Returns
number
get
Max
get
Max
(
)
:
number
Returns
number
get
Min
get
Min
(
)
:
number
Returns
number
Modules
components/number-
counter
Number
Counter
constructor
max
min
numbers
sum
add
add
All
get
Average
get
Count
get
Max
get
Min
Generated using
TypeDoc