/** * Checks a value to see if it is an integer. * @param {*} val - A value (of any type) * @returns {boolean} Whether or not the value is an integer */ export default function isInteger(val: any): val is number