ifSome

inline fun <Element> Maybe<Element>.ifSome(block: (Element) -> Unit)(source)

Runs the block on the value if it is present.