toggle menu
neat-validation
3.0.12
common
switch theme
search in API
neat-validation
/
neat
/
CompoundValidators
Compound
Validators
open
class
CompoundValidators
<
P
>
(
label
:
String
)
:
Validators
<
P
>
Members
Members & Extensions
Constructors
Compound
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
<
P
>
?
)
:
Validator
<
P
>
optional
Link copied to clipboard
open
fun
optional
(
)
:
Validator
<
P
?
>
required
Link copied to clipboard
fun
<
T
>
Validators
<
T
>
.
required
(
message
:
String
=
" is required, but was null"
)
:
Validator
<
T
>
validator
Link copied to clipboard
fun
<
C
>
KProperty1
<
P
,
C
>
.
validator
(
)
:
PropertyValidators
<
P
,
C
>
fun
<
C
>
KProperty1
<
P
,
C
>
.
validator
(
builder
:
(
String
)
->
Validators
<
C
>
)
:
PropertyValidators
<
P
,
C
>