0.1.0 • Published 4 years ago

@ajkachnic/not v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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