# 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/92a10d7481511296d22e17c43fbc1d4dd976bef8/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
