@wppconnect/wa-js - v3.17.0
Preparing search index...
ev
hasListeners
Variable hasListeners
Const
hasListeners
:
<
Name
extends
|
"blocklist.sync"
|
"call.incoming_call"
|
(keyof ChatEventTypes)
|
"config.update"
|
(keyof ConnEventTypes)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(keyof WebpackEvents)
|
"alfa"
|
"beta"
,
>
(
event
?:
Name
,
)
=>
boolean
= ...
Type declaration
<
Name
extends
|
"blocklist.sync"
|
"call.incoming_call"
|
(keyof ChatEventTypes)
|
"config.update"
|
(keyof ConnEventTypes)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(keyof WebpackEvents)
|
"alfa"
|
"beta"
,
>
(
event
?:
Name
,
)
:
boolean
Checks whether emitter has any listeners.
Type Parameters
Name
extends
|
"blocklist.sync"
|
"call.incoming_call"
|
(keyof ChatEventTypes)
|
"config.update"
|
(keyof ConnEventTypes)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(keyof WebpackEvents)
|
"alfa"
|
"beta"
Parameters
Optional
event
:
Name
Returns
boolean
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@wppconnect/wa-js - v3.17.0
Loading...
Checks whether emitter has any listeners.