MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / extractArgs

Function extractArgs

OpenReservation/wwwroot/Scripts/angular.js:3821–3825  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

3819 var $injectorMinErr = minErr('$injector');
3820
3821 function extractArgs(fn) {
3822 var fnText = fn.toString().replace(STRIP_COMMENTS, ''),
3823 args = fnText.match(ARROW_ARG) || fnText.match(FN_ARGS);
3824 return args;
3825 }
3826
3827 function anonFn(fn) {
3828 // For anonymous functions, showing at the very least the function signature can help in

Callers 2

anonFnFunction · 0.85
annotateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected