An open API service indexing awesome lists of open source software.

https://github.com/writetome51/error-if-not-integer

Function triggers error if argument is not integer of type 'number'
https://github.com/writetome51/error-if-not-integer

error integer javascript message not

Last synced: 3 months ago
JSON representation

Function triggers error if argument is not integer of type 'number'

Awesome Lists containing this project

README

          

# errorIfNotInteger(arg): void

Triggers error if `arg` is not integer of type 'number' .

## Installation
`npm i error-if-not-integer`

## Loading
```js
import { errorIfNotInteger } from 'error-if-not-integer';
```