9 lines
151 B
JavaScript
Executable File
9 lines
151 B
JavaScript
Executable File
exports = function(val) {
|
|
if (window.ShadowRoot) {
|
|
return val instanceof ShadowRoot;
|
|
}
|
|
return false;
|
|
};
|
|
|
|
module.exports = exports;
|