Package Exports
- assert-ok
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (assert-ok) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
assert-ok 
Assert that a value is truthy
Install
$ npm install --save assert-okUsage
var assertOk = require('assert-ok')
assertOk(true)
//=> noop
assertOk(false, 'My message')
//=> Error: My messageAPI
assertOk(input) -> undefined
input
Required
Type: any
An input to check for truthiness.
License
MIT © Ben Drucker