What is the opposite function of RotateVector?

The math’s behind rotators are quaternions IIRC. Quaternion - Wikipedia.