Afanasev_Stepan_PIbd-21_IP/ИП 3 лаба/node_modules/lodash/_getData.js
[USERNAME] 0dd26716dc Lab2-5
2024-01-10 16:11:49 +04:00

16 lines
325 B
JavaScript

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;