* Checks if `value` is a valid array-like length. * * **Note:** This method is loosely based on * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Re
(value)
| 755 | * // => false |
| 756 | */ |
| 757 | function isLength(value) { |
| 758 | return ( |
| 759 | typeof value === "number" && |
| 760 | value > -1 && |
| 761 | value % 1 === 0 && |
| 762 | value <= MAX_SAFE_INTEGER |
| 763 | ); |
| 764 | } |
| 765 | |
| 766 | /** |
| 767 | * Checks if `value` is the |