mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Bump to v3.0.0.
This commit is contained in:
15
internal/getData.js
Normal file
15
internal/getData.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var metaMap = require('./metaMap'),
|
||||
noop = require('../utility/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