<A, B>(of: Opt<(_: A) => B>) => (oa: Opt<A>): Opt<B>
Apply oa to function of. If any argument is None then result is None.
oa
of
ap(opt(x => x > 0))(opt(1)) // Opt(true)ap(opt(x => x > 0))(none) // Noneap(none)(opt(1)) // Noneap(none)(none) // None
A input of function inside of
B output of function inside of
Apply
oa
to functionof
. If any argument is None then result is None.