UNPKG

@cran/lib.vue.ref

Version:

Vue Reactivity Extensions

10 lines (9 loc) 240 B
import { watchFilter } from "./watchFilter"; function filter(next) { return !!next; } /** * @since 0.0.1 * @category Watch */ export function watchWhenDefined(source, cb, options) { return watchFilter(source, filter, cb, options); }