@ajkachnic/and
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ajkachnic/and

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

3.82 kB

Total Files

12

Last publish

Collaborators

  • ajkachnic