A collection of conditional functions that can be applied to Maybe types.
mapIf : Basics.Bool -> (a -> a) -> Maybe a -> Maybe a
Apply the mapping function only if the first condition is met.
andThenIf : Basics.Bool -> (a -> Maybe a) -> Maybe a -> Maybe a
Apply a "Then" - chaining function only if the first condition is met.