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