main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
325 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | var metaMap = require('./_metaMap'),
|
---|
| 2 | noop = require('./noop');
|
---|
| 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 | */
|
---|
| 11 | var getData = !metaMap ? noop : function(func) {
|
---|
| 12 | return metaMap.get(func);
|
---|
| 13 | };
|
---|
| 14 |
|
---|
| 15 | module.exports = getData;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.