and<U> method

Option<U> and<U>(
  1. Option<U> optb
)

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

Implementation

Option<U> and<U>(Option<U> optb) => isSome ? optb : None<U>();