error-if-not-integer

2.0.1 • Public • Published

errorIfNotInteger(arg): void

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

Installation

npm i error-if-not-integer

Loading

import { errorIfNotInteger } from 'error-if-not-integer';

Package Sidebar

Install

npm i error-if-not-integer

Weekly Downloads

28

Version

2.0.1

License

MIT

Unpacked Size

2.28 kB

Total Files

4

Last publish

Collaborators

  • writetome51