Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BYVoid/OpenCC
/ first_value
Function
first_value
data/scripts/opencc_resources_zip.py:56–61 ·
view source on GitHub ↗
(values, keys)
Source
from the content-addressed store, hash-verified
54
55
56
def
first_value(values, keys):
57
for
key in keys:
58
value = values.get(key)
59
if
value:
60
return
value
61
return
""
62
63
64
def
build_time_from_status(values):
Callers
1
build_manifest
Function · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected