* 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)
| 482 | * @returns {*} Returns the function if it's native, else `undefined`. |
| 483 | */ |
| 484 | function getNative(object, key) { |
| 485 | const value = getValue(object, key); |
| 486 | return baseIsNative(value) ? value : undefined; |
| 487 | } |
| 488 | |
| 489 | /** |
| 490 | * Gets the `toStringTag` of `value`. |
no test coverage detected