Is "WORTH" a preposition or adj.?

Is “WORTH” a preposition or adj.? thanks.

Worth can be an adjective or an uncountable noun.
For such questions, you would find a Learner’s Dictionary useful.