Appearance
SudoSOS Back-end API / helpers / ValidationRule
type ValidationRule<T, F> = (val) => | Either<F, T> | Promise<Either<F, T>>;
T
F
val
| Either<F, T> | Promise<Either<F, T>>
Either
Promise