ICT30016-Assignment-3/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs
dlawler489 a79a6afd34 intial
intial
2025-09-16 12:09:52 +10:00

12 lines
324 B
JavaScript

import { isMotionValue } from 'motion-dom';
/**
* If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself
*
* TODO: Remove and move to library
*/
function resolveMotionValue(value) {
return isMotionValue(value) ? value.get() : value;
}
export { resolveMotionValue };