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