Skip to main content

ap()

ap<A>(fa): <B>(fab) => Task<B>

Applies a function inside a Task to a value inside another Task.


Type Parametersโ€‹

A: Aโ€‹

The input type.


Parametersโ€‹

fa: Task<A>โ€‹

The value Task.


Returns: <B>(fab): Task<B>โ€‹

A function that applies the function Task.


Sinceโ€‹

2.0.0