functional-abstraction/type

View on GitHub
src/isInt.js

Summary

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

const isInt = (x) => isFinite(x) && x % 1 === 0;
export default isInt;