Well, the box on the right of the screen in your link HERE shows that it is a noun meaning "a thing of any kind." The example sentence given is the exact sentence the OP used.
Well, I found it that way in another online dictionary. I'm convinced with other two cases but this one.
Anything might happen. (pronoun)
He is not anything like his father. (adverb)