MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _looks_like_json

Function _looks_like_json

uncommon_route/composition.py:734–736  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

732
733
734def _looks_like_json(text: str) -> bool:
735 stripped = text.lstrip()
736 return stripped.startswith("{") or stripped.startswith("[")

Callers 1

_compose_deterministicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected