Question: Extract the argument of a trig function

I have an expression of the form A*arctan(B) where A and B are any expressions. How do I assign the B to a variable. I can do this with nops and op but it seem so clumsy. There must be an elegant way to do this.
Please Wait...