import { isWillChangeMotionValue } from "./dist-es-value-use-will-change-is.js";
function addValueToWillChange(visualElement, key) {
  const willChange = visualElement.getValue("willChange");
  if (isWillChangeMotionValue(willChange)) {
    return willChange.add(key);
  }
}
export {
  addValueToWillChange
};
//# sourceMappingURL=dist-es-value-use-will-change-add-will-change.js.map
