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