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

Function getFormattedMethodsExcludingRelations

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

Source from the content-addressed store, hash-verified

329}
330
331function getFormattedMethodsExcludingRelations(methods) {
332 return methods.filter(function(m) {
333 return m.name.indexOf('__') === -1;
334 })
335 .map(function(m) {
336 return formatMethod(m);
337 })
338 .reduce(function(p, c) {
339 return p.concat(c);
340 });
341}
342
343function getCreateMethod(methods) {
344 return methods.find(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…