@tspro/ts-utils-lib
Preparing search index...
CallTracker
Class CallTracker<T>
Type Parameters
T
=
unknown
Index
Constructors
constructor
Methods
get
Call
Count
For
has
Been
Called
With
track
get
Call
Count
For
has
Been
Called
With
track
Constructors
constructor
new
CallTracker
<
T
=
unknown
>
()
:
CallTracker
<
T
>
Type Parameters
T
=
unknown
Returns
CallTracker
<
T
>
Methods
get
Call
Count
For
getCallCountFor
(
value
:
T
)
:
number
Parameters
value
:
T
Returns
number
has
Been
Called
With
hasBeenCalledWith
(
value
:
T
)
:
boolean
Parameters
value
:
T
Returns
boolean
track
track
(
value
:
T
)
:
void
Parameters
value
:
T
Returns
void
Static
get
Call
Count
For
getCallCountFor
(
value
:
any
)
:
number
Parameters
value
:
any
Returns
number
Static
has
Been
Called
With
hasBeenCalledWith
(
value
:
any
)
:
boolean
Parameters
value
:
any
Returns
boolean
Static
track
track
(
value
:
any
)
:
void
Parameters
value
:
any
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Call
Count
For
has
Been
Called
With
track
get
Call
Count
For
has
Been
Called
With
track
@tspro/ts-utils-lib
Loading...