toggle menu
valix
1.0.5
common
switch theme
search in API
valix-runtime
/
io.valix.runtime
/
ValidationRule
Validation
Rule
data
class
ValidationRule
<
P
>
(
val
code
:
String
,
val
message
:
String
,
val
predicate
:
(
P
)
->
Boolean
)
Rule evaluation definition for DSL field properties.
Members
Constructors
Validation
Rule
Link copied to clipboard
constructor
(
code
:
String
,
message
:
String
,
predicate
:
(
P
)
->
Boolean
)
Properties
code
Link copied to clipboard
val
code
:
String
message
Link copied to clipboard
val
message
:
String
predicate
Link copied to clipboard
val
predicate
:
(
P
)
->
Boolean