'use strict';

var vue = require('vue');

function tryOnScopeDispose(fn) {
  if (vue.getCurrentScope()) {
    vue.onScopeDispose(fn);
    return true;
  }
  return false;
}

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