Noun:
* Refers to a person from the Philippines: "My friend is a Filipino."
* Refers to the Filipino language: "I'm learning to speak Filipino."
Adjective:
* Describes something related to the Philippines or Filipinos: "We had a Filipino meal." "The music has a Filipino rhythm."
Therefore, the grammatical function of "Filipino" depends on the context of the sentence.