'use strict';

var vue = require('vue');

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

exports.useDestroyed = useDestroyed;
//# sourceMappingURL=index.cjs.map
