Depends on the job, and who normally does that sort of work.

One academic paper on the topic I read 20 years ago posited the notion of "the competent incumbent" in hiring decisions, and assessment of male and female applicants.  If the job-type was predominantly male, OR female, the mental image of the competent incumbent would be bound up with gender stereotypes, such that the one gender or the other would be perceived more favorably (call up your notion of what a firefighter looks like).  Not any sort of "We don't want your kind here" bias.  Rather those candidates simply *seemed* more capable or qualified.

As the gender balance in the workplace shifted (and I seem to recall the tipping point was around 1/3 or more of the under-represented sex), gender-stereotypes entered into the mental image of competent incumbent less.