{"version":3,"file":"is.js","sources":["../../src/is.ts"],"sourcesContent":["/**\n * Checks whether given value's type is an Element instance.\n *\n * Returns false if `Element` is not available in the current runtime.\n */\nexport function isElement(wat: unknown): boolean {\n if (typeof Element === 'undefined') {\n return false;\n }\n try {\n return wat instanceof Element;\n } catch {\n return false;\n }\n}\n"],"names":[],"mappings":";;AAKO,SAAS,UAAU,GAAA,EAAuB;AAC/C,EAAA,IAAI,OAAO,YAAY,WAAA,EAAa;AAClC,IAAA,OAAO,KAAA;AAAA,EACT;AACA,EAAA,IAAI;AACF,IAAA,OAAO,GAAA,YAAe,OAAA;AAAA,EACxB,CAAA,CAAA,MAAQ;AACN,IAAA,OAAO,KAAA;AAAA,EACT;AACF;;;;"}