source: imaps-frontend/node_modules/lodash-es/_getData.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 323 bytes
RevLine 
[d565449]1import metaMap from './_metaMap.js';
2import noop from './noop.js';
3
4/**
5 * Gets metadata for `func`.
6 *
7 * @private
8 * @param {Function} func The function to query.
9 * @returns {*} Returns the metadata for `func`.
10 */
11var getData = !metaMap ? noop : function(func) {
12 return metaMap.get(func);
13};
14
15export default getData;
Note: See TracBrowser for help on using the repository browser.