# @writetome51/is-integer-is-float

> Functions that check if argument is integer or float

Latest version **2.0.1** (published 2020-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @writetome51/is-integer-is-float
pnpm add @writetome51/is-integer-is-float
yarn add @writetome51/is-integer-is-float
bun add @writetome51/is-integer-is-float
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2020-09-02 |
| First published | 2019-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Steve Thompson |
| Maintainers | writetome51 |
| Keywords | is, not, number, integer, float, type-checking, type, check, data-type |

## Links

- npm: https://www.npmjs.com/package/@writetome51/is-integer-is-float
- Repository: https://github.com/writetome51/is-integer-is-float
- Homepage: https://github.com/writetome51/is-integer-is-float#readme
- Issues: https://github.com/writetome51/is-integer-is-float/issues
- npm.io page: https://npm.io/package/@writetome51/is-integer-is-float

## 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

- 2.0.1 (latest) — 2020-09-02
- 2.0.0 — 2020-07-26
- 1.0.0 — 2019-04-06

## README

# isInteger(arg): boolean

Returns true only if `arg` is integer of type 'number'.  
( If `arg` ends with .0 (i.e, 1.0), this returns true. )

# notInteger(arg): boolean

# isFloat(arg): boolean

Returns true only if `arg` is float of type 'number'.  
( If arg ends with .0 (i.e, 1.0), this returns false. )


## Installation
`npm i  @writetome51/is-integer-is-float`

## Loading
```js
import { isInteger, notInteger, isFloat } from '@writetome51/is-integer-is-float';
```

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