MCPcopy Create free account
hub / github.com/codename-co/stack / belongsToNetworks

Function belongsToNetworks

packages/app/src/models/Container.ts:24–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 },
23
24 get belongsToNetworks() {
25 return (networks?: Network[]) =>
26 Object.keys(this.NetworkSettings.Networks).every((networkName) =>
27 networks?.some((network) => network.Name === networkName)
28 );
29 },
30 };
31};
32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected