MCPcopy
hub / github.com/Sathvik-Rao/ClipCascade / is_positive_integer

Method is_positive_integer

ClipCascade_Desktop/src/cli/login.py:26–30  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

24
25 @staticmethod
26 def is_positive_integer(value):
27 if value.isdigit() and int(value) > 0:
28 return True
29 else:
30 return False
31
32 @staticmethod
33 def bool_to_str(value):

Callers 1

mainloopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected