Preparing search index...
The search index is not available
Vlodia ORM - v0.1.0
Vlodia ORM
CustomValidationRule
Class CustomValidationRule
Implements
ValidationRule
Index
Constructors
constructor
Methods
validate
Constructors
constructor
new
Custom
Validation
Rule
(
field
,
validator
,
message
)
:
CustomValidationRule
Parameters
field
:
string
validator
:
(
(
value
)
=>
boolean
)
(
value
)
:
boolean
Parameters
value
:
any
Returns
boolean
message
:
string
Returns
CustomValidationRule
Methods
validate
validate
(
data
)
:
ValidationResult
Parameters
data
:
any
Returns
ValidationResult
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
validate
Vlodia ORM - v0.1.0
Loading...