toggle menu
neat-validation
3.0.2
common
switch theme
search in API
neat-validation
/
neat
/
Validators
Validators
open
class
Validators
<
T
>
(
val
label
:
String
)
Inheritors
CompoundValidators
PropertyValidators
Members
Members & Extensions
Constructors
Validators
Link copied to clipboard
constructor
(
label
:
String
)
Properties
label
Link copied to clipboard
val
label
:
String
Functions
configure
Link copied to clipboard
fun
configure
(
validator
:
ValidationFactory
<
T
>
?
)
:
Validator
<
T
>
optional
Link copied to clipboard
open
fun
optional
(
)
:
Validator
<
T
?
>
required
Link copied to clipboard
fun
<
T
>
Validators
<
T
>
.
required
(
message
:
String
=
" is required, but was null"
)
:
Validator
<
T
>