PWM frequency library

I am new to arduino. So I do not fully understand the code.

The main point is I want to ask is these function can change the PWM frequency up to 2MHz by calling the function of "pwmWrite()" and "SetPinFrequencySafe()" ?

Then, what is the resoluation of this frequency, 8 bits or 16bits?

Thanks.