Files
ETB/ETB-FrontEnd/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

13 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 };