artdaq_node_server
v1_00_07
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Variables
Pages
src
node_modules
xml2js
node_modules
xmlbuilder
node_modules
lodash
_toSource.js
1
2
var funcProto = Function.prototype;
3
5
var funcToString = funcProto.toString;
6
14
function
toSource(func) {
15
if
(func != null) {
16
try
{
17
return
funcToString.call(func);
18
}
catch
(e) {}
19
try
{
20
return
(func +
''
);
21
}
catch
(e) {}
22
}
23
return
''
;
24
}
25
26
module.exports = toSource;
Generated on Wed May 24 2017 17:50:32 for artdaq_node_server by
1.8.5