Blame view

天文台pc/tianwentai-ui/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs 346 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
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