Eat healthy โ get healed. Saturation always triggers healing โ full hunger bar not required.
The golden carrot provides lots of saturation. You can see the saturation is used to heal the player even though the player isn't "full" yet.