MCPcopy Create free account
hub / github.com/CScorza/IntelOSINT / _as_str

Method _as_str

IntelOSINT.py:15783–15788  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

15781 return t.strip()
15782
15783 def _as_str(v):
15784 if v is None:
15785 return "N/A"
15786 if isinstance(v, bool):
15787 return "true" if v else "false"
15788 return str(v).strip()
15789
15790 def _as_int(v):
15791 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected