MCPcopy 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
7def integer(value):
8 if type(value) is not int or value < 0:
9 raise ValueError("expected nonnegative byte count")
10 return value
11
12
13def index(document):

Callers 1

summarizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected