expression
on inquiry; if you ask
Fixed expression used to introduce information obtained by asking someone. Often followed by a surprising or noteworthy fact.
聞いてみると、彼はもう引っ越したそうだ。
When I asked, it turned out he had already moved.
聞いてみると、その店は閉店したらしい。
If you ask, apparently that shop has closed down.