MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / extractArgs

Function extractArgs

lib/test/angular/1.7.0/angular.js:4226–4230  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

4224}
4225
4226function extractArgs(fn) {
4227 var fnText = stringifyFn(fn).replace(STRIP_COMMENTS, ''),
4228 args = fnText.match(ARROW_ARG) || fnText.match(FN_ARGS);
4229 return args;
4230}
4231
4232function anonFn(fn) {
4233 // 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