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

17 lines
444 B
JavaScript

define(['./_overArg'], function(overArg) {
/* 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);
return getPrototype;
});