map<A, B> function

StreamOption<B> Function(StreamOption<A>) map<A, B>(
  1. B onSome(
    1. A
    )
)

Implementation

StreamOption<B> Function(
  StreamOption<A>,
) map<A, B>(
  B Function(A) onSome,
) =>
    (option$) => option$.map(
          O.map(onSome),
        );