UNPKG
@cran/lib.vue.ref
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.1
Vue Reactivity Extensions
@cran/lib.vue.ref
/
cjs
/
utility
/
unref.js
10 lines
(9 loc)
•
289 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"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;