Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_getData.js 325B

123456789101112131415
  1. var metaMap = require('./_metaMap'),
  2. noop = require('./noop');
  3. /**
  4. * Gets metadata for `func`.
  5. *
  6. * @private
  7. * @param {Function} func The function to query.
  8. * @returns {*} Returns the metadata for `func`.
  9. */
  10. var getData = !metaMap ? noop : function(func) {
  11. return metaMap.get(func);
  12. };
  13. module.exports = getData;