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

Defined in

Last Updated: 13 October, 2019