@teamteanpm2024/nemo-repellendus-alias

1.0.5 • Public • Published

@teamteanpm2024/nemo-repellendus-alias

NPM Tests Coverage Status Downloads License

Checks if an integer is negative zero, and converts to positive zero.

Install

npm install --save @teamteanpm2024/nemo-repellendus-alias

Usage

import deneg from "@teamteanpm2024/nemo-repellendus-alias";

deneg(-0);
//=> 0

deneg(+0);
//=> 0

deneg(12345);
//=> 12345

deneg(-4);
//=> -4

[-2, -1, -0, 0, 1, 2].map(deneg);
//=> [ -2, -1, 0, 0, 1, 2 ]

License

MIT © Philihp Busby

Readme

Keywords

Package Sidebar

Install

npm i @teamteanpm2024/nemo-repellendus-alias

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

16.8 kB

Total Files

5

Last publish

Collaborators

  • shivamkalsi2024