node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

assay

Build Status

assay

make assertion functions into boolean tests

Installation

$ npm install assay

or

$ component install nathan7/assay

API

assay(fn)

Returns a new function that returns true if fn runs normally, and false if it throws.

License

MIT