not
NOT
condition for ref.
Usage
import { not } from '@vueuse/core'
const a = ref(true)
whenever(not(a), () => {
console.log('a is now falsy!')
})
Related Functions
and
or
whenever
Type Declarations
/**
* `NOT` conditions for refs.
*
* @see https://vueuse.org/not
*/
export declare function not(v: MaybeRef<any>): ComputedRef<boolean>