* Checks if `value` is an integer. * * **Note:** This method is based on * [`Number.isInteger`](https://mdn.io/Number/isInteger). * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is an
(value)
| 54650 | * // => false |
| 54651 | */ |
| 54652 | function isInteger(value) { |
| 54653 | return typeof value == 'number' && value == toInteger(value); |
| 54654 | } |
| 54655 | |
| 54656 | module.exports = isInteger; |
| 54657 |
nothing calls this directly
no test coverage detected