Function ifSome

execute fun with option value as parameter if option isSome

auto ifSome(alias fun, OptT) (
  OptT opt
);