MCPcopy Create free account
hub / github.com/bytedance/bolt / is_empty

Function is_empty

scripts/normalize_blog_posts.py:114–115  ·  view source on GitHub ↗
(value: str | None)

Source from the content-addressed store, hash-verified

112
113
114def is_empty(value: str | None) -> bool:
115 return value is None or unquote_string(value).strip() == ""
116
117
118def quote_string(value: str) -> str:

Callers 2

normalize_postFunction · 0.85
TEST_PFunction · 0.85

Calls 1

unquote_stringFunction · 0.85

Tested by 1

TEST_PFunction · 0.68