source:
node_modules/ramda-adjunct/src/internal/ponyfills/Number.isInteger.js@
d24f17c
Last change on this file since d24f17c was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 224 bytes |
Line | |
---|---|
1 | import { both, converge, equals, identity } from 'ramda'; |
2 | |
3 | import isFinite from '../../isFinite'; |
4 | |
5 | const isIntegerPonyfill = both( |
6 | isFinite, |
7 | converge(equals, [Math.floor, identity]) |
8 | ); |
9 | |
10 | export default isIntegerPonyfill; |
Note:
See TracBrowser
for help on using the repository browser.