ConsoleMessageConsoleMessage.typeVersion: 21.4.1On this pageConsoleMessage.type() methodThe type of the console message.Signature:class ConsoleMessage { type(): ConsoleMessageType;}Returns:ConsoleMessageType