Message.hasName

Checks if @message has the given @name. This function is usually used to check the name of a custom message.

class Message
bool
hasName
(
string name
)

Parameters

name string

name to check

Return: %TRUE if @name matches the name of the message structure.

Meta