@ajkachnic/and
v0.1.1
Published
the long awaited sequel to [not](https://github.com/ajkachnic)
Downloads
2
Readme
and
the long awaited sequel to not
usage
with typescript:
import and from '@ajkachnic/and'
const myNum = 2
if(and(myNum === 1, true)) {
console.log('it works')
}
common js:
const and = require('@ajkachnic/and')
const myNum = 2
if(and(myNum === 1, true)) {
console.log('it works')
}
api
takes a two booleans, returns a boolean... enough said