Sha256: 2e22b4a76a67c842b440b11b16c660d44072f04a60aff321bb13137099d73027

Contents?: true

Size: 325 Bytes

Versions: 291

Compression:

Stored size: 325 Bytes

Contents

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;

Version data entries

291 entries across 267 versions & 32 rubygems

Version Path
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-define-map/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-call-delegate/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-generator/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-core/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-sticky-regex/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-regenerator/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-strict-mode/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-register/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-template/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-parameters/node_modules/lodash/_getData.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-shorthand-properties/node_modules/lodash/_getData.js