BOC v1.0: RS256 auth, Ledger integration, Prometheus metrics, CI/CD, backup
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import { isObject } from 'motion-utils';
|
||||
|
||||
/**
|
||||
* Checks if an element is an HTML element in a way
|
||||
* that works across iframes
|
||||
*/
|
||||
function isHTMLElement(element) {
|
||||
return (isObject(element) &&
|
||||
"offsetHeight" in element &&
|
||||
!("ownerSVGElement" in element));
|
||||
}
|
||||
|
||||
export { isHTMLElement };
|
||||
//# sourceMappingURL=is-html-element.mjs.map
|
||||
Reference in New Issue
Block a user