말이다

I mean … / you see

Explanation

말 means “words” or “what someone said.” After a noun, 말이야 (casual) or 말이에요 (polite) can point out exactly who or what you mean. If a friend asks which person you meant, you could say:

저 사람 말이에요.

I mean that person.

After a whole statement, the pattern can check someone’s meaning. Here 간다는 introduces what you think you heard:

지금 간다는 말이에요?

Do you mean you’re leaving now?

With a firm voice, the same pattern can insist on a point. 늦었단 is short for 늦었다는 (“that it’s too late”).

벌써 늦었단 말이야!

I’m telling you, it’s already too late!

A common reply is 그러게 말이죠. Say it when someone has said just what you were thinking:

그러게 말이죠.

Exactly.