MCPcopy Create free account
hub / github.com/CommE2E/comm / threadTypeIsSidebar

Function threadTypeIsSidebar

lib/shared/threads/thread-specs.js:85–87  ·  view source on GitHub ↗
(threadType: ThreadType)

Source from the content-addressed store, hash-verified

83export const sidebarThreadTypes: $ReadOnlyArray<ThreadType> =
84 getThreadTypesByTrait('sidebar');
85export function threadTypeIsSidebar(threadType: ThreadType): boolean {
86 return sidebarThreadTypes.includes(threadType);
87}
88
89export const personalThreadTypes: $ReadOnlyArray<ThreadType> =
90 getThreadTypesByTrait('personal');

Callers 15

mostRecentlyReadThreadFunction · 0.90
createChatMessageItemsFunction · 0.90
useMessageListDataFunction · 0.90
usePotentialMemberItemsFunction · 0.90
threadIsChannelFunction · 0.90
threadIsSidebarFunction · 0.90
threadInFilterListFunction · 0.90
parsePendingThreadIDFunction · 0.90
threadNounFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected