partitionMap<Z, Y> method

  1. @override
(Option<Z>, Option<Y>) partitionMap<Z, Y>(
  1. Either<Z, Y> f(
    1. T t
    )
)
override

Return a record that contains as first value a Some when f returns Left, otherwise the Some will be the second value of the tuple.

Implementation

@override
(Option<Z>, Option<Y>) partitionMap<Z, Y>(Either<Z, Y> Function(T t) f) =>
    Option.separate(map(f));