While "y" can sometimes act as a consonant (like in "yellow"), in this case, it's functioning as a vowel because it's creating the sound of the "i" in "any".
While "y" can sometimes act as a consonant (like in "yellow"), in this case, it's functioning as a vowel because it's creating the sound of the "i" in "any".