What is the meaning of にや?

expresses doubt about a preceding affirmative statement, or introduces a contrary point

Source: wiktionary.org