action-debian-package/node_modules/ramda/es/internal/_isInteger.js

11 lines
214 B
JavaScript
Raw Normal View History

2020-03-26 14:37:35 +00:00
/**
* Determine if the passed argument is an integer.
*
* @private
* @param {*} n
* @category Type
* @return {Boolean}
*/
export default Number.isInteger || function _isInteger(n) {
return n << 0 === n;
};