Uneven Laminate Floors

My kitchen floor is uneven. It’s carpeted now; will a laminate floor adjust so it does not break? Cathy