MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / extractArgs

Function extractArgs

lib/test/angular/1.6.7/angular.js:4231–4235  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

4229}
4230
4231function extractArgs(fn) {
4232 var fnText = stringifyFn(fn).replace(STRIP_COMMENTS, ''),
4233 args = fnText.match(ARROW_ARG) || fnText.match(FN_ARGS);
4234 return args;
4235}
4236
4237function anonFn(fn) {
4238 // For anonymous functions, showing at the very least the function signature can help in

Callers 2

anonFnFunction · 0.70
annotateFunction · 0.70

Calls 1

stringifyFnFunction · 0.70

Tested by

no test coverage detected