* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. * * @private * @param {Object} object The object to query. * @returns {Array} Returns the array of property names.
(object)
| 3547 | * @returns {Array} Returns the array of property names. |
| 3548 | */ |
| 3549 | function baseKeysIn(object) { |
| 3550 | if (!isObject(object)) { |
| 3551 | return nativeKeysIn(object); |
| 3552 | } |
| 3553 | var isProto = isPrototype(object), |
| 3554 | result = []; |
| 3555 | |
| 3556 | for (var key in object) { |
| 3557 | if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { |
| 3558 | result.push(key); |
| 3559 | } |
| 3560 | } |
| 3561 | return result; |
| 3562 | } |
| 3563 | |
| 3564 | /** |
| 3565 | * The base implementation of `_.lt` which doesn't coerce arguments. |
no test coverage detected