# nv-bool-cond

> nv-bool-cond =============== - nv-bool-cond - just a instance extends of Boolean, which can carry reason

Latest version **1.0.3** (published 2022-10-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install nv-bool-cond
pnpm add nv-bool-cond
yarn add nv-bool-cond
bun add nv-bool-cond
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-10-16 |
| First published | 2022-08-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ihgazni2 |

## Links

- npm: https://www.npmjs.com/package/nv-bool-cond
- npm.io page: https://npm.io/package/nv-bool-cond

## Recent versions

- 1.0.3 (latest) — 2022-10-16
- 1.0.2 — 2022-10-16
- 1.0.1 — 2022-08-20

## README

nv-bool-cond
===============
- nv-bool-cond   
- just a instance extends of Boolean, which can carry reason 

install
=======
- npm install nv-bool-cond

usage
=====
    
example
-------
        > const {tru,fls} = require("nv-bool-cond")
        > var t = tru()
        > t
        [Boolean (NvCond): true] { '#reason': null }
        > 
        > var f = fls("not-matched")
        > f
        [Boolean (NvCond): false] { '#reason': 'not-matched' }
        > 
        > t == true
        true
        > f == false
        true
        > 

API
====

                {
                  creat: [Function: creat],
                  from_pair: [Function: from_pair],
                  from_dict: [Function: from_dict],
                  tru: [Function: tru],
                  fls: [Function: fls],
                  is_true: [Function: is_true],
                  is_false: [Function: is_false]
                }


METHODS
=======

         cond.cond_            cond.dict                  cond.pair                  cond.reason_

LICENSE
=======
- ISC

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