UNPKG

@cran/lib.vue.ref

Version:

Vue Reactivity Extensions

11 lines (10 loc) 224 B
import { eagerComputed, unwrap } from "../utility"; /** * @since 0.0.1 * @category Operator */ export function usePow(x, y) { return eagerComputed(function compute() { return unwrap(x) ** unwrap(y); }); }