swc/bundler/tests/.cache/deno/656421b0baa5f2cf6569c3b7751b2d77c400e634.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +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;
};