MCPcopy
hub / github.com/angular-ui/ui-grid / extractArgs

Function extractArgs

lib/test/angular/1.8.0/angular.js:4341–4345  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

4339}
4340
4341function extractArgs(fn) {
4342 var fnText = stringifyFn(fn).replace(STRIP_COMMENTS, ''),
4343 args = fnText.match(ARROW_ARG) || fnText.match(FN_ARGS);
4344 return args;
4345}
4346
4347function anonFn(fn) {
4348 // 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