MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / isContent

Function isContent

packages/core/src/pipes/pipes.ts:523–524  ·  view source on GitHub ↗
(chunk: Chunk)

Source from the content-addressed store, hash-verified

521 * @returns True if the chunk is a ContentChunk, false otherwise.
522 */
523export const isContent = (chunk: Chunk): chunk is ContentChunk =>
524 chunk.type === 'content';
525
526/**
527 * Determines if the given chunk is a ToolCallChunk.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected