MCPcopy Create free account
hub / github.com/anomalyco/opencode / keyFor

Function keyFor

packages/ui/src/components/select.tsx:56–56  ·  view source on GitHub ↗
(item: T)

Source from the content-addressed store, hash-verified

54 }
55
56 const keyFor = (item: T) => (local.value ? local.value(item) : (item as string))
57
58 const move = (item: T | undefined) => {
59 if (!local.onHighlight) return

Callers 1

moveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected