It's entirely accidental that air conditioners have a dehumidifying function. The system cools the air and causes it to lose some humidity. The air conditioner won't be as effective as a dehumidifier because it's not designed to do that.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.