# is-false

> Returns false if the value of a property is either strictly false, or it's inverse is strictly true.

Latest version **0.1.1** (published 2015-05-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-false
pnpm add is-false
yarn add is-false
bun add is-false
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2015-05-25 |
| First published | 2015-05-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Jon Schlinkert |
| Maintainers | jonschlinkert |
| Keywords | boolean, check, is, object, property, value |

## Links

- npm: https://www.npmjs.com/package/is-false
- Repository: https://github.com/jonschlinkert/is-false
- Issues: https://github.com/jonschlinkert/is-false/issues
- npm.io page: https://npm.io/package/is-false

## Dependencies (1)

- [is-true](https://npm.io/package/is-true.md) ^0.1.0

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2015-05-25
- 0.1.0 — 2015-05-25

## README

# is-false [![NPM version](https://badge.fury.io/js/is-false.svg)](http://badge.fury.io/js/is-false)

> Returns false if the value of a property is either strictly false, or it's inverse is strictly true.

## Install

Install with [npm](https://www.npmjs.com/)

```sh
$ npm i is-false --save
```

## Usage

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.

**Examples**

```js
var isFalse = require('is-false');

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

isFalse({noa: true}, 'a');
//=> true
```

## Conflicts

When both a property and its inverse exist, `true` is always returned unless both values evaluate to `true` (remember that this repo is named `isFalse` ;)

```js
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
```

## Related projects

* [is-true](https://github.com/jonschlinkert/is-true): Returns `true` if the value of an object's property is strictly true, or it's inverse… [more](https://github.com/jonschlinkert/is-true)
* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.
* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.
* [is-primitive](https://github.com/jonschlinkert/is-primitive): Returns `true` if the value is a primitive.

## Running tests

Install dev dependencies:

```sh
$ npm i -d && npm test
```

## Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-false/issues/new)

## Author

**Jon Schlinkert**

+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)

## License

Copyright © 2015 Jon Schlinkert
Released under the MIT license.

***

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 25, 2015._

---
_Source: https://npm.io/package/is-false · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
