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

Method is_positive_integer

ClipCascade_Desktop/src/gui/login.py:562–566  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

560
561 @staticmethod
562 def is_positive_integer(value):
563 if value.isdigit() and int(value) > 0:
564 return True
565 else:
566 return False
567
568 def on_login(self):
569 # save data to config

Callers 1

on_loginMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected