
Product
Introducing PHP and Composer Support in Socket
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.
Returns false if the value of a property is either strictly false, or it's inverse is strictly true.
Returns false if the value of a property is either strictly false, or it's inverse is strictly true.
Install with npm
$ npm i is-false --save
Returns true if a property is strictly false or its inverse is strictly true. The inverse of a is noa, the inverse of b is nob, and so on.
var isFalse = require('is-false');
isFalse({a: false}, 'a');
//=> true
isFalse({noa: true}, 'a');
//=> true
When a property and it's inverse both exist, both must evaluate to the same result, or true is returned.
Examples
isFalse({noa: true, a: false}, 'a');
//=> true
isFalse({noa: true, a: true}, 'a');
//=> true
isFalse({noa: false, a: false}, 'a');
//=> true
isFalse({noa: false, a: true}, 'a');
//=> false
true if the value of an object's property is strictly true, or it's inverse… moreObject constructor.true if the value is a primitive.Install dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on May 25, 2015.
FAQs
Returns false if the value of a property is either strictly false, or it's inverse is strictly true.
We found that is-false demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.