and<U extends Object> method

Future<Option<U>> and<U extends Object>(
  1. Option<U> optb
)

Returns None if the option is None, otherwise returns optb.

Implementation

Future<Option<U>> and<U extends Object>(Option<U> optb) =>
    then((v) => v.and(optb));