1 line
333 B
JSON
1 line
333 B
JSON
|
{"ast":null,"code":"export default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","map":null,"metadata":{},"sourceType":"module"}
|