Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/LawRefBook/Laws
/ find
Function
find
scripts/request.py:55–59 ·
view source on GitHub ↗
(f, arr: List[Any])
Source
from the content-addressed store, hash-verified
53
54
55
def
find(f, arr: List[Any]) -> Any:
56
for
item in arr:
57
if
f(item):
58
return
item
59
raise
Exception(
"not found"
)
60
61
62
NUMBER_RE =
"[一二三四五六七八九十零百千万1234567890]"
Callers
1
parse_law
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected