False.
In a transverse wave, the wavelength is measured from one crest to the next crest or from one trough to the next trough. The terms "compression" and "rarefaction" refer to longitudinal waves, where wavelength is measured from one compression to the next compression.