{"_id":"is-true","_rev":"95936","name":"is-true","description":"Returns `true` if the value of an object's property is strictly true, or it's inverse is false.","dist-tags":{"latest":"0.1.1"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:32:02.000Z","created":"2015-05-21T22:05:33.881Z","0.1.1":"2015-11-02T03:48:09.810Z","0.1.0":"2015-05-21T22:05:33.881Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-true.git"},"versions":{"0.1.1":{"name":"is-true","description":"Returns `true` if the value of an object's property is strictly true, or it's inverse is false.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/is-true","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-true.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-true/issues"},"license":"MIT","files":["index.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^2.0.0"},"devDependencies":{"mocha":"*"},"keywords":["boolean","check","is","object","property","value"],"verb":{"related":{"description":"","list":["is-true","is-false","is-plain-object","isobject","is-primitive"]}},"gitHead":"1f5c3b9b455b9b1da928facc5baff78e1e160a20","_id":"is-true@0.1.1","_shasum":"db863da8968928bb86a4da4a9c6e6564b573dbcd","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"db863da8968928bb86a4da4a9c6e6564b573dbcd","size":2240,"noattachment":false,"key":"/is-true/-/is-true-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-true/download/is-true-0.1.1.tgz"},"directories":{},"publish_time":1446436089810,"_cnpm_publish_time":1446436089810,"_hasShrinkwrap":false},"0.1.0":{"name":"is-true","description":"Returns `true` if the value of an object's property is strictly true, or it's inverse is false.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/is-true","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/is-true.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-true/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-true/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-plain-object":"^2.0.0"},"devDependencies":{"mocha":"*"},"keywords":["boolean","check","is","object","property","value"],"_id":"is-true@0.1.0","_shasum":"3bb361d1facdac50ea93a76fe3747f906391b70c","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3bb361d1facdac50ea93a76fe3747f906391b70c","size":2125,"noattachment":false,"key":"/is-true/-/is-true-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-true/download/is-true-0.1.0.tgz"},"directories":{},"publish_time":1432245933881,"_cnpm_publish_time":1432245933881,"_hasShrinkwrap":false}},"readme":"# is-true [![NPM version](https://badge.fury.io/js/is-true.svg)](http://badge.fury.io/js/is-true)\n\n> Returns `true` if the value of an object's property is strictly true, or it's inverse is false.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i is-true --save\n```\n\n## Usage\n\nReturns true if a property is strictly `true` or its inverse is strictly `false`. The inverse of `a` is `noa`, the inverse of `b` is `nob`, and so on.\n\n```js\nvar isTrue = require('is-true');\n\nisTrue({a: true}, 'a');\n//=> true\n\nisTrue({noa: false}, 'a');\n//=> true\n```\n\nIf a property and it's inverse both exist, both must evaluate to the same result, or `false` is returned.\n\n**Examples**\n\n```js\nisTrue({noa: false, a: true}, 'a');\n//=> true\n\nisTrue({noa: false, a: false}, 'a');\n//=> false\n\nisTrue({noa: true, a: true}, 'a');\n//=> false\n```\n\n## Related projects\n\n* [is-false](https://www.npmjs.com/package/is-false): Returns false if the value of a property is either strictly false, or it's inverse… [more](https://www.npmjs.com/package/is-false) | [homepage](https://github.com/jonschlinkert/is-false)\n* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object)\n* [is-primitive](https://www.npmjs.com/package/is-primitive): Returns `true` if the value is a primitive.  | [homepage](https://github.com/jonschlinkert/is-primitive)\n* [is-true](https://www.npmjs.com/package/is-true): Returns `true` if the value of an object's property is strictly true, or it's inverse… [more](https://www.npmjs.com/package/is-true) | [homepage](https://github.com/jonschlinkert/is-true)\n* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-true/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 01, 2015._","_attachments":{},"homepage":"https://github.com/jonschlinkert/is-true","bugs":{"url":"https://github.com/jonschlinkert/is-true/issues"},"license":"MIT"}