has Method

Determine whether this BeEvent has a specified listener registered.

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

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

Returns - boolean

Defined in

Last Updated: 30 November, 2023