- liftPar<TArgs, T>(f): (<E>(...elems) => AsyncValidation<E, T>)
-
Type Parameters
-
TArgs extends unknown[]
-
T
Parameters
-
f: ((...args) => T | PromiseLike<T>)
-
- (...args): T | PromiseLike<T>
-
Returns T | PromiseLike<T>
Returns (<E>(...elems) => AsyncValidation<E, T>)
Adapt a synchronous or an asynchronous function to be applied in the context of
Validation
orAsyncValidationLike
.