Message.hasName
bool hasName(string name) nothrowChecks if message has the given name. This function is usually used to check the name of a custom message.
Parameters
name | name to check |
Returns
true if name matches the name of the message structure.