MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / isint

Function isint

problem.py:41–46  ·  view source on GitHub ↗
(x: str)

Source from the content-addressed store, hash-verified

39
40
41def isint(x: str) -> bool:
42 try:
43 int(x)
44 return True
45 except: # pylint: disable=bare-except
46 return False
47
48
49class Construction:

Callers 1

translateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected