Files
lodash/_getPrototype.js
John-David Dalton 51ed7e7707 Bump to v4.14.0.
2016-07-24 09:52:22 -07:00

16 lines
420 B
JavaScript

import overArg from './_overArg.js';
/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeGetPrototype = Object.getPrototypeOf;
/**
* Gets the `[[Prototype]]` of `value`.
*
* @private
* @param {*} value The value to query.
* @returns {null|Object} Returns the `[[Prototype]]`.
*/
var getPrototype = overArg(nativeGetPrototype, Object);
export default getPrototype;