MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isTextBlock

Function isTextBlock

source code/components/MessageSelector.tsx:21–23  ·  view source on GitHub ↗
(block: ContentBlockParam)

Source from the content-addressed store, hash-verified

19import { type OptionWithDescription, Select } from './CustomSelect/select.js';
20import { Spinner } from './Spinner.js';
21function isTextBlock(block: ContentBlockParam): block is TextBlockParam {
22 return block.type === 'text';
23}
24import * as path from 'path';
25import { useTerminalSize } from 'src/hooks/useTerminalSize.js';
26import type { FileEditOutput } from 'src/tools/FileEditTool/types.js';

Callers 2

UserMessageOptionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected