var isNumber = require('./isNumber'); /** * Check if value is an integer */ function isInteger(val){ return isNumber(val) && (val % 1 === 0); } module.exports = isInteger;