import{PreviewMessageType as e}from"../preview-message-types.js";const n=[e.ConsoleError,e.UncaughtException,e.UnhandledRejection];export function isPreviewMessage(e){return null!=e&&"object"==typeof e&&!(!("type"in e)||!n.includes(e.type))}