* Gets the native function at `key` of `object`. * * @private * @param {Object} object The object to query. * @param {string} key The key of the method to get. * @returns {*} Returns the function if it's native, else `undefined`.
(object, key)
| 551 | * @returns {*} Returns the function if it's native, else `undefined`. |
| 552 | */ |
| 553 | function getNative(object, key) { |
| 554 | const value = getValue(object, key); |
| 555 | return baseIsNative(value) ? value : undefined; |
| 556 | } |
| 557 | |
| 558 | /** |
| 559 | * Checks if `value` is a property name and not a property path. |
no test coverage detected
searching dependent graphs…