Medial and final 'y's are always vowels, ( i) and (ee).
The frontal y is not a vowel, as the air passage is constricted.
from the guide to English pronunciation...consonants
y"
emulate yes senior you
The "y" sound that leads into a vowel.
It leads into, but isn't, a vowel.