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 useAnd(x, y) { return eagerComputed(function compute() { return unwrap(x) && unwrap(y); }); }