'use strict';

var vue = require('vue');

const useDestroyed = () => {
  const destroyed = vue.shallowRef(false);
  vue.onBeforeUnmount(() => {
    destroyed.value = true;
  });
  return destroyed;
};

exports.useDestroyed = useDestroyed;
//# sourceMappingURL=useDestroyed.js.map
