@tjoskar/assert
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

assert Build Status codecov

Simple assert lib

Install

$ npm install @tjoskar/assert

Usage

import { is, isNot } from '@tjoskar/assert'

is(true, true) // OK
is(true, false) // Throws `true is not equal to false`

isNot(true, false) // OK
isNot(true, true) // Throws `true is equal to true`

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @tjoskar/assert

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

8.07 kB

Total Files

10

Last publish

Collaborators

  • tjoskar