main
Last change
on this file since d565449 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
|
Line | |
---|
1 | import metaMap from './_metaMap.js';
|
---|
2 | import 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 | */
|
---|
11 | var getData = !metaMap ? noop : function(func) {
|
---|
12 | return metaMap.get(func);
|
---|
13 | };
|
---|
14 |
|
---|
15 | export default getData;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.