main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
279 bytes
|
Line | |
---|
1 | import { both } from 'ramda';
|
---|
2 | import isInteger from '../../isInteger';
|
---|
3 | import MAX_SAFE_INTEGER from './Number.MAX_SAFE_INTEGER';
|
---|
4 | var isSafeIntegerPonyfill = both(isInteger, function (value) {
|
---|
5 | return Math.abs(value) <= MAX_SAFE_INTEGER;
|
---|
6 | });
|
---|
7 | export default isSafeIntegerPonyfill; |
---|
Note:
See
TracBrowser
for help on using the repository browser.