Files
NapCatQQ/.pnpm-store/v3/files/2f/81c91c9da05636c0c0ae56eb4b2f167e7718db0bcef9fa41f91d72ed4d0b99c66c16ba19b4ba7e5b8211b3ab51094886c6c5be92f14566b450940d2f93f5c0
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

12 lines
253 B
Plaintext

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;
}
export { isHTMLElement };