MCPcopy
hub / github.com/strongloop/loopback / getFormattedScopeMethods

Function getFormattedScopeMethods

test/remoting.integration.js:349–359  ·  view source on GitHub ↗
(methods)

Source from the content-addressed store, hash-verified

347}
348
349function getFormattedScopeMethods(methods) {
350 return methods.filter(function(m) {
351 return m.name.indexOf('__') === 0;
352 })
353 .map(function(m) {
354 return formatMethod(m);
355 })
356 .reduce(function(p, c) {
357 return p.concat(c);
358 });
359}
360
361function getFormattedPrototypeMethods(methods) {
362 return methods.filter(function(m) {

Callers 1

Calls 1

formatMethodFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…