• Adapt a synchronous function to be applied in the context of Maybe.

    Type Parameters

    • TArgs extends unknown[]

    • T

    Parameters

    • f: ((...args) => T)
        • (...args): T
        • Parameters

          • Rest ...args: TArgs

          Returns T

    Returns ((...maybes) => Maybe<T>)

      • (...maybes): Maybe<T>
      • Parameters

        • Rest ...maybes: {
              [K in keyof TArgs]: Maybe<TArgs[K]>
          }

        Returns Maybe<T>

Generated using TypeDoc