@NonNull abstract fun ifJust(@NonNull action: Consumer1<A>): Maybe<A>
Performs the provided action if the Maybe represents a Just. The stored value is not changed in any way.
Maybe
Just
Note: If action throws, then this method may throw an Exception.
action - Consumer1<A>: a side-effect action to perform.
action
Return Maybe<A>: a Maybe instance.