Constructors
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the $option's value if this option is nonempty '''and''' the predicate $p returns true when applied to this $option's value. Otherwise, returns null.
Link copied to clipboard
Returns the result of applying $f to this $option's value if this $option is nonempty. Returns $none if this $option is empty. Slightly different from map
in that $f is expected to return an $option (which could be $none).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <B, C, D> zip( b: Option<B>, c: Option<C>, map: (T, B, C) -> D): Option<D>
Content copied to clipboard
inline fun <B, C, D, E> zip( b: Option<B>, c: Option<C>, d: Option<D>, map: (T, B, C, D) -> E): Option<E>
Content copied to clipboard
inline fun <B, C, D, E, F> zip( b: Option<B>, c: Option<C>, d: Option<D>, e: Option<E>, map: (T, B, C, D, E) -> F): Option<F>
Content copied to clipboard
inline fun <B, C, D, E, F, G> zip( b: Option<B>, c: Option<C>, d: Option<D>, e: Option<E>, f: Option<F>, map: (T, B, C, D, E, F) -> G): Option<G>
Content copied to clipboard
inline fun <B, C, D, E, F, G, H> zip( b: Option<B>, c: Option<C>, d: Option<D>, e: Option<E>, f: Option<F>, g: Option<G>, map: (T, B, C, D, E, F, G) -> H): Option<H>
Content copied to clipboard
inline fun <B, C, D, E, F, G, H, I> zip( b: Option<B>, c: Option<C>, d: Option<D>, e: Option<E>, f: Option<F>, g: Option<G>, h: Option<H>, map: (T, B, C, D, E, F, G, H) -> I): Option<I>
Content copied to clipboard