UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

1 lines 598 B
{"version":3,"file":"is-animation-controls.mjs","sources":["../../../../src/animation/utils/is-animation-controls.ts"],"sourcesContent":["import { LegacyAnimationControls } from \"motion-dom\"\n\nexport function isAnimationControls(v?: unknown): v is LegacyAnimationControls {\n return (\n v !== null &&\n typeof v === \"object\" &&\n typeof (v as LegacyAnimationControls).start === \"function\"\n )\n}\n"],"names":[],"mappings":"AAEM,SAAU,mBAAmB,CAAC,CAAW,EAAA;IAC3C,QACI,CAAC,KAAK,IAAI;QACV,OAAO,CAAC,KAAK,QAAQ;AACrB,QAAA,OAAQ,CAA6B,CAAC,KAAK,KAAK,UAAU,EAC7D;AACL;;;;"}