MCPcopy
hub / github.com/hello-pangea/dnd / findDraggableById

Function findDraggableById

src/state/registry/create-registry.ts:50–52  ·  view source on GitHub ↗
(id: DraggableId)

Source from the content-addressed store, hash-verified

48 }
49
50 function findDraggableById(id: DraggableId): DraggableEntry | null {
51 return entries.draggables[id] || null;
52 }
53
54 function getDraggableById(id: DraggableId): DraggableEntry {
55 const entry: DraggableEntry | null = findDraggableById(id);

Callers 2

getDraggableByIdFunction · 0.85
createRegistryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…