How to add an optional parameter to a blueprint function?

I’m creating a couple of pure helper functions in blueprints and would like to make some parameters optional (ideally something like Java’s Optional<T>, but if not that, then just a “default” value). I’ve looked over the UI and the docs I can find and haven’t found a way.

You don’t have to go as far as Java, even Unreal C++ has TOptional, but as far as I know, that’s not supported for Blueprints. It’s not a direct solution for your problem, but in case you’d turn to C++, you could use that.