UNPKG

@cran/lib.vue.ref

Version:

Vue Reactivity Extensions

15 lines (14 loc) 356 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useNot = void 0; const utility_1 = require("../utility"); /** * @since 0.0.1 * @category Operator */ function useNot(value) { return (0, utility_1.eagerComputed)(function compute() { return !(0, utility_1.unwrap)(value); }); } exports.useNot = useNot;