It's more of an eye test. How he looks, if he's attractive. Few girls (even the ones who say they do) actually have a strict height code where a perfect guy will no longer be suitable if he's an inch or two shorter.
But there's no denying that a tall man is ideal for a lot of women.
Not as much as you think, unless they're assholes or rejecting you for other reasons instead but acting like this wa the dealbreaker. Anyway, usually, we're not strict about height even tho we appreciate a guy taller than us
I mean, height is important in some ways. I myself won't date anyone shorter than me, so they'd have to be my height or taller for me to consider them. If I saw a guy shorter than me, I might say he's attractive or cute but I wouldn't date him