Category | @Math |
---|---|
Export Size | 109 B |
Package | @vueuse/math |
Last Changed | 2 weeks ago |
Alias | not |
Related |
logicAnd logicOr
|
NOT
condition for ref.
import { logicNot } from '@vueuse/math' import { whenever } from '@vueuse/core' const a = ref(true) whenever(logicNot(a), () => { console.log('a is now falsy!') })
/** * `NOT` conditions for refs. * * @see https://vueuse.org/logicNot */ export declare function logicNot(v: MaybeRefOrGetter<any>): ComputedRef<boolean> export { logicNot as not }
© 2019-present Anthony Fu
Licensed under the MIT License.
https://vueuse.org/math/logicNot/