source: node_modules/ramda/src/internal/_isInteger.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 216 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 */
9module.exports = Number.isInteger || function _isInteger(n) {
10 return n << 0 === n;
11};
Note: See TracBrowser for help on using the repository browser.