source:
node_modules/ramda/es/internal/_isInteger.js@
d24f17c
Last change on this file since d24f17c was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 214 bytes |
Line | |
---|---|
1 | /** |
2 | * Determine if the passed argument is an integer. |
3 | * |
4 | * @private |
5 | * @param {*} n |
6 | * @category Type |
7 | * @return {Boolean} |
8 | */ |
9 | export default Number.isInteger || function _isInteger(n) { |
10 | return n << 0 === n; |
11 | }; |
Note:
See TracBrowser
for help on using the repository browser.