# is-number-between

> Check if a number is between another two numbers; extremes are included.

Latest version **1.0.11** (published 2020-01-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install is-number-between
pnpm add is-number-between
yarn add is-number-between
bun add is-number-between
```

## 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.11 |
| Published | 2020-01-08 |
| First published | 2019-12-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | camillinif |
| Keywords | number, between, functional, range |

## Links

- npm: https://www.npmjs.com/package/is-number-between
- Repository: https://github.com/camillinif/js-is-number-between
- Homepage: https://github.com/camillinif/js-is-number-between#readme
- Issues: https://github.com/camillinif/js-is-number-between/issues
- npm.io page: https://npm.io/package/is-number-between

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.11 (latest) — 2020-01-08
- 1.0.10 — 2020-01-08
- 1.0.9 — 2019-12-30
- 1.0.8 — 2019-12-30
- 1.0.7 — 2019-12-30
- 1.0.6 — 2019-12-30
- 1.0.5 — 2019-12-30
- 1.0.4 — 2019-12-30
- 1.0.3 — 2019-12-30

## README

# is-number-between

Check if a number is between another two numbers; extremes are included.

[![Inline docs](http://inch-ci.org/github/camillinif/js-is-number-between.svg?branch=master)](http://inch-ci.org/github/camillinif/js-is-number-between)

[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)

## Definition

```txt
minimum => maximum => number => Boolean
```

-   `minimum`: is the lower bound of interval
-   `maximum`: is the higher bound of interval
-   `number`: is the number to evaluate

## Example

```js
const isNumberBetween = require('is-number-between');

isNumberBetween(0)(10)(10); // true
isNumberBetween(0)(10)(11); // false
```

[![https://nodei.co/npm/is-number-between.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/is-number-between.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/is-number-between)

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