swc/crates/swc_bundler/tests/.cache/deno/656421b0baa5f2cf6569c3b7751b2d77c400e634.ts
2021-11-09 20:42:49 +09:00

15 lines
298 B
TypeScript

// Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isInteger.js
/**
* 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;
};