isPayloadEvent
[ Function ]
export function isPayload(value: Event): boolean;
Checks whether the transferred Event is a PayloadEvent.
Parameter
Name | Type | Description |
---|---|---|
value | The event to be checked |
Return value
Type | Description |
---|---|
Returns true if the transferred event is a PayloadEvent, otherwise false. |
Available from version 1.12 |