noun, noun which may take the genitive case particle 'no'
passing by; happening to pass
Refers to the act of passing by a place, often implying coincidence or being in the right place at the right time. Commonly used in the phrase 通りがかりに (while passing by).
通りがかりの人が助けてくれた。
A person who happened to be passing by helped me.
通りがかりにその店を見つけた。
I found that shop while passing by.