mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Bump to v4.1.0.
This commit is contained in:
15
_getData.js
Normal file
15
_getData.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var metaMap = require('./_metaMap'),
|
||||
noop = require('./noop');
|
||||
|
||||
/**
|
||||
* Gets metadata for `func`.
|
||||
*
|
||||
* @private
|
||||
* @param {Function} func The function to query.
|
||||
* @returns {*} Returns the metadata for `func`.
|
||||
*/
|
||||
var getData = !metaMap ? noop : function(func) {
|
||||
return metaMap.get(func);
|
||||
};
|
||||
|
||||
module.exports = getData;
|
||||
Reference in New Issue
Block a user