Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 264 Bytes

index.md

File metadata and controls

21 lines (15 loc) · 264 Bytes
category alias
@Math
not

logicNot

NOT condition for ref.

Usage

import { logicNot } from '@vueuse/math'
import { whenever } from '@vueuse/core'

const a = ref(true)

whenever(logicNot(a), () => {
  console.log('a is now falsy!')
})