isPayloadEvent

[ Function ]

export function isPayload(value: Event): boolean;

Checks whether the transferred Event is a PayloadEvent.

Parameter

Name

Type

Description

value

Event

The event to be checked

Return value

Type

Description

boolean

Returns true if the transferred event is a PayloadEvent, otherwise false.

isPayloadEvent 1:

Available from version 1.12