Firsh Push at 20241207
This commit is contained in:
14
_validation/ValidationTheEnterData.py
Normal file
14
_validation/ValidationTheEnterData.py
Normal file
@@ -0,0 +1,14 @@
|
||||
class validation_the_enter_data:
|
||||
def __init__(self) -> None:
|
||||
pass
|
||||
def validation_string(self, content, Comparison):
|
||||
if content == Comparison:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
def validation_type(self, enter, Type: type):
|
||||
if not isinstance(enter, Type):
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
Reference in New Issue
Block a user