MCPcopy Index your code
hub / github.com/tinyplex/tinybase / getInitialPosition

Function getInitialPosition

src/common/inspector/common.ts:22–25  ·  view source on GitHub ↗
(position: string)

Source from the content-addressed store, hash-verified

20 'Inspector error: please see console for details.';
21
22export const getInitialPosition = (position: string) => {
23 const index = arrayIndexOf(POSITIONS, position);
24 return index == -1 ? 1 : index;
25};
26
27export const getUniqueId = (...args: (Id | undefined)[]) =>
28 jsonStringWithMap(args);

Callers 2

InspectorFunction · 0.90
InspectorFunction · 0.90

Calls 1

arrayIndexOfFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…