UNPKG

vue-hooks-plus

Version:
9 lines (8 loc) 410 B
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); function canUseDom() { return !!(typeof window !== "undefined" && window.document && window.document.createElement); } const isBrowser = !!(typeof window !== "undefined" && window.document && window.document.createElement); exports.canUseDom = canUseDom; exports.default = isBrowser;