functional-abstraction/type

View on GitHub
src/isInt32.js

Summary

Maintainability
A
0 mins
Test Coverage
import isFinite from './isFinite.js';

// eslint-disable-next-line no-bitwise
const isInt32 = (x) => isFinite(x) && x === (x | 0);
export default isInt32;