Is the letter "Y" used as a vowel or consonant in the word dictionary?

I think it is used as a vowel due to the long "e" sound.

Is my answer right?

3 answers

Mostly as a vowel, yes.
Thanks.
You're welcome.