Guys, How to know if a guy is a true friend or playing you?

I'm friends with a guy at work. It's nothing more than a friendship. I like him as a person, but sometimes he blows hot and cold and it seems like he doesn't want our friendship. This is hurting me and very confusing, because I value his friendship. But at times, I feel like he's playing mind games. Sometimes it's as though he wants me in his life, then other times it's as though he doesn't at all 😕

Updates
+1 y
...
Guys, How to know if a guy is a true friend or playing you?
Post Opinion