@ajkachnic/not
v0.1.0
Published
literally one function exported -- made in like 3 minutes
Downloads
4
Readme
not
literally one function exported -- made in like 3 minutes
59 bytes not minified
usage
with typescript:
import not from '@ajkachnic/not'
const myNum = 2
if(not(myNum === 1)) {
console.log('it works')
}
common js:
const not = require('@ajkachnic/not')
const myNum = 2
if(not(myNum === 1)) {
console.log('it works')
}
api
takes a boolean, returns a boolean... enough said