MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isUser

Function isUser

src/components/VirtualMessageList.tsx:362–362  ·  view source on GitHub ↗
(i: number)

Source from the content-addressed store, hash-verified

360 return false;
361 };
362 const isUser = (i: number) => isVisible(i) && messages[i]!.type === 'user';
363 return {
364 // Entry via shift+↑ = same semantic as in-cursor shift+↑ (prevUser).
365 enterCursor: () => scan(messages.length - 1, -1, isUser),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected