purescript-integers
purescript-integers copied to clipboard
Add safe integers
Description of the change
https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-number.issafeinteger
Add maxSafeInteger
, minSafeInteger
, and isSafeInteger
.
Checklist:
- [x] Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
- [ ] Linked any existing issues or proposals that this pull request should close
- [ ] Updated or added relevant documentation
- [ ] Added a test for the contribution (if applicable)