Can i use the ionic --release flag in my code?

I would like to detect the ionic build build –release flag to toggle a debug variables in my code. I don’t see any documentation on this.

Thanks,