Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ integer
Function
integer
atomic-core/examples/semantic_codec_lab/report.py:7–10 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
5
6
7
def
integer(value):
8
if
type(value) is not int or value < 0:
9
raise
ValueError(
"expected nonnegative byte count"
)
10
return
value
11
12
13
def
index(document):
Callers
1
summarize
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected