Read the sentence.

Genealogists consider old family records fascinating.

How does the word fascinating function in the sentence?

indirect object

predicate adjective

objective complement

predicate nominative

predicate adjective