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