Hans van der Meer via ntg-context schrieb am 16.06.2024 um 22:29:
I  remember there was an incantation to work with expanded doif's etc. 
In this case I need \doifelsedefined{ARG} with ARG expanded.
I lost the exact spelling of the command and dldn't find it in the garden. 
What was it?

Can you provide a example where you have problems with \doifdefined etc.

Wolfgang