sindresorhus / ts-extras

Essential utilities for TypeScript projects
MIT License
587 stars 15 forks source link

Add `isFinite`, `isInteger`, and `isSafeInteger` #20

Closed jonahsnider closed 2 years ago

jonahsnider commented 2 years ago

Adds isFinite, isInteger, and isInteger helper functions that make use of type-fest's numeric types.

Fixes #16 Fixes #17 Fixes #18

sindresorhus commented 2 years ago

Can you add them to the readme too?