Files
lodash/.internal/getData.js
2017-01-10 00:45:05 -08:00

15 lines
290 B
JavaScript

import metaMap from './.internal/metaMap.js';
/**
* Gets metadata for `func`.
*
* @private
* @param {Function} func The function to query.
* @returns {*} Returns the metadata for `func`.
*/
const getData = metaMap
? func => metaMap.get(func)
: () => {};
export default getData;