validation_result

For complex validation we might not want to use simple "require()" but an error message that is returned.

Properties

Link copied to clipboard
val error: text? = null

If valid is false, the error message. null otherwise

Link copied to clipboard

Whether the attempt succeeded