# es-logical-or-operator

> || in fp

Latest version **1.0.0** (published 2025-12-24) · EGPSL10X-1.0 license · 0 weekly downloads

## Install

```sh
npm install es-logical-or-operator
pnpm add es-logical-or-operator
yarn add es-logical-or-operator
bun add es-logical-or-operator
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2025-12-24 |
| First published | 2025-12-24 |
| Weekly downloads | 0 |
| License | EGPSL10X-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | 10x'ly made |
| Maintainers | tj-commits |
| Keywords | or, operator, es, js |

## Links

- npm: https://www.npmjs.com/package/es-logical-or-operator
- Repository: https://github.com/in-fp/es-logical-or-operator
- Homepage: https://github.com/in-fp/es-logical-or-operator#readme
- Issues: https://github.com/in-fp/es-logical-or-operator/issues
- npm.io page: https://npm.io/package/es-logical-or-operator

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.0 (latest) — 2025-12-24

## README

# es-logical-or-operator
Implementation of the `||` operator as a function (`|| in fp`).

## Installation
```bash
npm install es-logical-or-operator
```
or
```bash
yarn add es-logical-or-operator
```

## Usage
```js
const or = require("es-logical-or-operator")
console.log(or(true, false)) // true
console.log(or(false, true)) // true
console.log(or(false, false)) // false
console.log(or(true, true)) // true
console.log(or(1, 2)) // 1
console.log(or(0, 1)) // 1
```

## License
[EGPSL10X-1.0](https://github.com/10xEngineersQualityProgramming/EGPSL10X-1.0) Licensed

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