indeclinable particle (sandhi contraction)
Analysis. yā (feminine nominative singular of ya, the relative pronoun 'which') + api (also, even). The contraction yāpi functions as an emphatic relative particle introducing conditional or concessive clauses: 'whichever... also' or 'even if which'. Common in the Pali suttas to express universality or emphasis within a dependent clause.
Etymology. ya descends from Proto-Indo-European *yo- (the stem of relative pronouns; cognates: Latin qui, English who, German wer). api is an old particle meaning 'also, even' (Sanskrit api; cognate with English *ap- in Greek apo-, Latin ab-, both meaning 'away' in origin, but used as an adverbial particle meaning 'too, further'). The combination yāpi binds a feminine relative form to an emphatic particle, creating a strong indefinite-relative sense.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version