Mission Control Dashboard - Initial implementation
This commit is contained in:
11
node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
generated
vendored
Normal file
11
node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { isMotionValue } from './is-motion-value.mjs';
|
||||
|
||||
/**
|
||||
* If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself
|
||||
*/
|
||||
function resolveMotionValue(value) {
|
||||
return isMotionValue(value) ? value.get() : value;
|
||||
}
|
||||
|
||||
export { resolveMotionValue };
|
||||
//# sourceMappingURL=resolve-motion-value.mjs.map
|
||||
Reference in New Issue
Block a user