MCPcopy
hub / github.com/claude-code-best/claude-code / isSummarizeOption

Function isSummarizeOption

src/components/MessageSelector.tsx:56–58  ·  view source on GitHub ↗
(option: RestoreOption | null)

Source from the content-addressed store, hash-verified

54type RestoreOption = 'both' | 'conversation' | 'code' | 'summarize' | 'summarize_up_to' | 'nevermind';
55
56function isSummarizeOption(option: RestoreOption | null): option is 'summarize' | 'summarize_up_to' {
57 return option === 'summarize' || option === 'summarize_up_to';
58}
59
60type Props = {
61 messages: Message[];

Callers 3

onSelectRestoreOptionFunction · 0.85
MessageSelectorFunction · 0.85
RestoreOptionDescriptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected