MCPcopy Index your code
hub / github.com/codeaashu/claude-code / hasThinkingContent

Function hasThinkingContent

src/components/Message.tsx:591–601  ·  view source on GitHub ↗
(m: {
  type: string;
  message?: {
    content: Array<{
      type: string;
    }>;
  };
})

Source from the content-addressed store, hash-verified

589 }
590}
591export function hasThinkingContent(m: {
592 type: string;
593 message?: {
594 content: Array<{
595 type: string;
596 }>;
597 };
598}): boolean {
599 if (m.type !== 'assistant' || !m.message) return false;
600 return m.message.content.some(b => b.type === 'thinking' || b.type === 'redacted_thinking');
601}
602
603/** Exported for testing */
604export function areMessagePropsEqual(prev: Props, next: Props): boolean {

Callers 2

areMessagePropsEqualFunction · 0.85
areMessageRowPropsEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected