Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentforce314/clawcodex
/ is_text_block
Function
is_text_block
src/utils/export_renderer.py:255–256 ·
view source on GitHub ↗
(block: Any)
Source
from the content-addressed store, hash-verified
253
254
255
def
is_text_block(block: Any) -> bool:
256
return
_is_obj(block) and _btype(block) ==
"text"
and isinstance(_btext(block), str)
257
258
259
def
is_tool_result_block(block: Any) -> bool:
Callers
6
extract_first_prompt
Function · 0.90
is_internal_text_block
Function · 0.85
is_synthetic_tool_result_block
Function · 0.85
is_synthetic_content
Function · 0.85
has_exportable_structured_content
Function · 0.85
serialize_content_blocks
Function · 0.85
Calls
3
_is_obj
Function · 0.85
_btype
Function · 0.85
_btext
Function · 0.85
Tested by
no test coverage detected