MCPcopy Create free account
hub / github.com/TodePond/ScreenPond / areAddressesEqual

Function areAddressesEqual

source/address.js:16–20  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

14};
15
16export const areAddressesEqual = (a, b) => {
17 if (a.colour !== b.colour) return false;
18 if (a.number !== b.number) return false;
19 return true;
20};
21
22export const getAddressFromScreen = (screen, colour) => {
23 const number = colour.screens.indexOf(screen);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected