has Method

Determine whether this BeEvent has a specified listener registered.

has(listener: T extends Listener, scope?: any): boolean

Parameter Type Description
listener T extends Listener The listener to check.
scope any optional scope argument to match call to addListener

Returns - boolean

Defined in

Last Updated: 13 June, 2024