Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 930 Bytes

.verb.md

File metadata and controls

55 lines (36 loc) · 930 Bytes

{%= name %} {%= badge("fury") %}

{%= description %}

Install

{%= include("install-npm", {save: true}) %}

Usage

Returns 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.

var isTrue = require('{%= name %}');

isTrue({a: true}, 'a');
//=> true

isTrue({noa: false}, 'a');
//=> true

If a property and it's inverse both exist, both must evaluate to the same result, or false is returned.

Examples

isTrue({noa: false, a: true}, 'a');
//=> true

isTrue({noa: false, a: false}, 'a');
//=> false

isTrue({noa: true, a: true}, 'a');
//=> false

Related projects

{%= related(verb.related.list) %}

Running tests

{%= include("tests") %}

Contributing

{%= include("contributing") %}

Author

{%= include("author") %}

License

{%= copyright() %} {%= license() %}


{%= include("footer") %}