UNPKG

@cran/lib.vue.ref

Version:

Vue Reactivity Extensions

10 lines (9 loc) 289 B
"use strict"; /* eslint-disable @typescript-eslint/unified-signatures */ Object.defineProperty(exports, "__esModule", { value: true }); exports.unref = void 0; const vue_1 = require("vue"); function unref(ref) { return (0, vue_1.isRef)(ref) ? ref.value : ref; } exports.unref = unref;