CustomValidator

abstract class CustomValidator(val message: String, val validator: (field: Any?) -> Boolean) : Validator

Constructors

Link copied to clipboard
constructor(message: String, validator: (field: Any?) -> Boolean)

Properties

Link copied to clipboard
open override val message: String

Prompt message after verification failure

Link copied to clipboard
val validator: (field: Any?) -> Boolean