logicNot ​
Category
Export Size
109 B
Package
@vueuse/math
Last Changed
5 months ago
Alias
not
Related
NOT
condition for ref.
Usage ​
ts
import { logicNot } from '@vueuse/math'
import { whenever } from '@vueuse/core'
const a = ref(true)
whenever(logicNot(a), () => {
console.log('a is now falsy!')
})
import { logicNot } from '@vueuse/math'
import { whenever } from '@vueuse/core'
const a = ref(true)
whenever(logicNot(a), () => {
console.log('a is now falsy!')
})