* 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)
| 6065 | * @returns {*} Returns the function if it's native, else `undefined`. |
| 6066 | */ |
| 6067 | function getNative(object, key) { |
| 6068 | var value = getValue(object, key); |
| 6069 | return baseIsNative(value) ? value : undefined; |
| 6070 | } |
| 6071 | |
| 6072 | /** |
| 6073 | * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. |
no test coverage detected