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

13 lines
306 B
Plaintext

import { motionComponentSymbol } from './symbol.mjs';
/**
* Checks if a component is a `motion` component.
*/
function isMotionComponent(component) {
return (component !== null &&
typeof component === "object" &&
motionComponentSymbol in component);
}
export { isMotionComponent };