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

Function findClass

test/remoting.integration.js:323–329  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

321}
322
323function findClass(name) {
324 return app.handler('rest').adapter
325 .getClasses()
326 .filter(function(c) {
327 return c.name === name;
328 })[0];
329}
330
331function getFormattedMethodsExcludingRelations(methods) {
332 return methods.filter(function(m) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…