MCPcopy Index your code
hub / github.com/webpy/webpy / valid

Method valid

web/form.py:665–669  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

663 utils.autoassign(self, locals())
664
665 def valid(self, value):
666 try:
667 return self.test(value)
668 except:
669 return False
670
671
672notnull = Validator("Required", bool)

Callers

nothing calls this directly

Calls 1

testMethod · 0.80

Tested by

no test coverage detected