• Adapt a synchronous or an asynchronous function to be applied in the context of Validation or AsyncValidationLike.

    Type Parameters

    • TArgs extends unknown[]

    • T

    Parameters

    • f: ((...args) => T | PromiseLike<T>)
        • (...args): T | PromiseLike<T>
        • Parameters

          • Rest ...args: TArgs

          Returns T | PromiseLike<T>

    Returns (<E>(...elems) => AsyncValidation<E, T>)

Generated using TypeDoc