isVst3, isVst, isAU etc function?

Hi,

I am programming a plugin, which I am going to release as VST, VST3 and AU.

Now I am wondering:
Is there a way to tell if the plugin is a VST, VST3, AU or AUv3? Like, from inside the plugin?
For example, if I want to know if it is a standalone application I can call JUCEApplication::isStandaloneApp()
Is there something similar for the different plugin types? Either as a macro (ie. during compile time) or as a function (ie. during run time).

During runtime, you can check :

AudioProcessor::wrapperType

Thanks for the fast reply!
Thats exactly what I was looking for :slight_smile: