function bothWithInvalidFieldTracking<A, B>(validatorA, validatorB): (x, invalidFields?, level) => x is A & B
Type parameters
| Type parameter |
|---|
A |
B |
Parameters
| Parameter | Type |
|---|---|
validatorA | ValidatorWithTracking<A> |
validatorB | ValidatorWithTracking<B> |
Returns
Function
Parameters
| Parameter | Type | Default value |
|---|---|---|
x | unknown | undefined |
invalidFields? | Map<number, unknown[]> | undefined |
level? | number | 0 |
Returns
x is A & B