Skip to content

⬅️ Back to Table of Contents

📄 logicNot

📊 Analysis Summary

Metric Count
🔧 Functions 1
📦 Imports 4
📊 Variables & Constants 1
🟢 Vue Composition API 1

📚 Table of Contents

🛠️ File Location:

📂 packages/math/logicNot/index.ts

📦 Imports

Name Source
ComputedRef vue
MaybeRefOrGetter vue
computed vue
toValue vue

Variables & Constants

Name Type Kind Value Exported
not (v: MaybeRefOrGetter<any>) => Compute... const logicNot

Vue Composition API

Name Type Reactive Variables Composables
computed computed none none

Functions

logicNot(v: MaybeRefOrGetter<any>): ComputedRef<boolean>

NOT conditions for refs.

See: https://vueuse.org/logicNot

Tags: @__NO_SIDE_EFFECTS__

Raw JSDoc
/**
 * `NOT` conditions for refs.
 *
 * @see https://vueuse.org/logicNot
 *
 * @__NO_SIDE_EFFECTS__
 */

Calls:

  • computed (from vue)
  • toValue (from vue)
Code
export function logicNot(v: MaybeRefOrGetter<any>): ComputedRef<boolean> {
  return computed(() => !toValue(v))
}

Generated by Syntax Scribe