Although many dictionaries mark all as an adjective, the word is a determiner , to be more accurate, although some regard determiners as types of adjectives. All can also be a pronoun , not a noun. As a pronoun, the word can be "equal", as you put it, to the noun for which it stands.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.