Can you hide UFUNCTION parameters depending on a bool?

For UPROPERTY’s, there is the meta specifier EditCondition. I am wondering if there is a similar one for UFUNCTIONs, so that I could for example hide the amount if I have ‘all’ checked. See picture for reference.
image
image

I don’t think this is feasible, though a workaround solution would be to have two separate versions of the function: Take, and TakeAll.

Here is a useful link describing most of the available UFUNCTION specifiers:

There is a “Hide” specifier, but no HideCondition or something like that unfortunately.