MCPcopy
hub / github.com/tinygrad/tinygrad / is_js_token

Function is_js_token

sz.py:15–15  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

13 return t.type == token.STRING and t.string.startswith('"""') and t.line.strip().startswith('"""')
14
15def is_js_token(s): return len(s) and not s.startswith('//')
16
17def gen_stats(base_path="."):
18 table = []

Callers 1

gen_statsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…