{%= description %}
{%= include("install-npm", {save: true}) %}
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(verb.related.list) %}
{%= include("tests") %}
{%= include("contributing") %}
{%= include("author") %}
{%= copyright() %} {%= license() %}
{%= include("footer") %}