Every sentence has a truth waiting at the end of it and the writer learns how to know it when he finally gets there.
In my experience, writing a novel tends to create its own structure, its own demands, its own language, its own ending. So for much of the period in which I'm writing, I'm waiting to understand what's going to happen next, and how and where it's going to happen. In some cases, fairly early in the process, I do know how a book will end. But most of the time, not at all, and in this particular case, many questions are still unanswered, even though I've been working for months.