Skip to content

logicNot

Category
Export Size
67 B
Package
@reause/math
Last Changed
5 days ago
Related

NOT condition for values

Demo

Usage

tsx
import { 
logicNot
} from '@reause/math'
const
notTrue
=
logicNot
(true) // false — re-evaluated on every call
const
notZero
=
logicNot
(0) // true

Type Declarations

ts
export function logicNot(v: any): boolean

Source

Source · Demo · VueUse

Contributors

hairyf

Changelog

v0.1.0 on
66708 - feat(math): add logicNot (#29)

Released under the MIT License. v0.1.8