# Function: has() (/jsdoc/pixi-vn/index/namespaces/RegisteredEvents/functions/has)



\> **has**(`id`): `boolean`

Defined in: [src/canvas/decorators/event-decorator.ts:85](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/canvas/decorators/event-decorator.ts#L85)

Check if a event is registered.

Parameters [#parameters]

id [#id]

`string`

The id of the event.

Returns [#returns]

`boolean`

True if the event is registered, false otherwise
