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

Function makeRoute

source/route.js:8–12  ·  view source on GitHub ↗
(start)

Source from the content-addressed store, hash-verified

6// ROUTE //
7//=======//
8export const makeRoute = (start) => {
9 const steps = new LinkedList();
10 const route = { start, steps, length: 1 };
11 return route;
12};
13
14export const addStep = (route, number) => {
15 route.steps.push(number);

Callers 2

moveAddressToBackFunction · 0.90
pickInScreenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected