tryMap<P> abstract method

Maybe<P> tryMap<P>(
  1. P mapper(
    1. T value
    )
)

Tries to map value to P. If the mapper throws anything (not just an Exception), returns Nothing<P>.

Implementation

Maybe<P> tryMap<P>(P Function(T value) mapper);