isMessage

[ Function ]

export function isMessage(value: Event): boolean;

Checks whether the transferred Event is a Message.

Parameter

Name

Type

Description

value

Event

The event to be checked

Return value

Type

Description

boolean

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

isMessage 1:

Available from version 1.10