1 | /* Built-in method references for those with the same name as other `lodash` methods. */
|
2 | var nativeGetPrototype = Object.getPrototypeOf;
|
3 |
|
4 | /**
|
5 | * Gets the `[[Prototype]]` of `value`.
|
6 | *
|
7 | * @private
|
8 | * @param {*} value The value to query.
|
9 | * @returns {null|Object} Returns the `[[Prototype]]`.
|
10 | */
|
11 | function getPrototype(value) {
|
12 | return nativeGetPrototype(Object(value));
|
13 | }
|
14 |
|
15 | export default getPrototype;
|