mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 19:07:49 +00:00
Simplify getNative.
This commit is contained in:
@@ -5415,7 +5415,7 @@
|
|||||||
*/
|
*/
|
||||||
function getNative(object, key) {
|
function getNative(object, key) {
|
||||||
var value = getValue(object, key);
|
var value = getValue(object, key);
|
||||||
return (isMaskable(value) ? baseIsNative : isNative)(value) ? value : undefined;
|
return baseIsNative(value) ? value : undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user