|
validate all fields and return a custom type,
-
tester
:
Validator<'E> -> 'T
-
Returns:
Result<'T, Map<string, 'E list>>
|
|
-
tester
:
Validator<'E> -> Async<'T>
-
Returns:
Async<Result<'T, Map<string, 'E list>>>
|
|
Exit after first error occurred and return a custom type
-
tester
:
Validator<'E> -> 'T
-
Returns:
Result<'T, Map<string, 'E list>>
|
|
-
tester
:
Validator<'E> -> Async<'T>
-
Returns:
Async<Result<'T, Map<string, 'E list>>>
|
|
IsValid helper from Validator method for custom rule functions, you can also extend Validator class directly.
-
Returns:
('T0 -> bool) -> 'E -> FieldInfo<'T, 'T0, 'E> -> FieldInfo<'T, 'T0, 'E>
|
|
IsValidAsync helper from Validator method for custom rule functions, you can also extend Validator class directly.
-
Returns:
('T -> Async<bool>) -> 'E -> Async<FieldInfo<'T0, 'T, 'E>> -> Async<FieldInfo<'T0, 'T, 'E>>
|
|
IsValidOpt helper from Validator method for custom rule functions, you can also extend Validator class directly.
-
Returns:
('T0 -> ValidateResult<'T1>) -> 'E -> FieldInfo<'T, 'T0, 'E> -> FieldInfo<'T, 'T1, 'E>
|
|
IsValidOptAsync helper from Validator method for custom rule functions, you can also extend Validator class directly.
-
Returns:
('T0 -> Async<ValidateResult<'T1>>) -> 'E -> Async<FieldInfo<'T, 'T0, 'E>> -> Async<FieldInfo<'T, 'T1, 'E>>
|
|
-
tester
:
Validator<'E> -> 'T
-
Returns:
Result<'T, 'E list>
|
|
Validate single value asynchronize
-
tester
:
Validator<'E> -> Async<'T>
-
Returns:
Async<Result<'T, 'E list>>
|
|
-
all
:
bool
-
tester
:
Validator<'E> -> Async<'T>
-
Returns:
Async<Result<'T, Map<string, 'E list>>>
|
|
-
all
:
bool
-
tester
:
Validator<'E> -> 'T
-
Returns:
Result<'T, Map<string, 'E list>>
|