Yes, this is the chain rule for multivariable calculus. If you have some function of multiple variables, , then