In the book "Horizons: exploring the universe-Cengage learning (2018)", it said:
Only during totality, when the photosphere is completely hidden, is it safe to look at the Sun directly.
So I was wondering why the author wrote "is it safe ... directly." Is it correct in terms of grammar? Shouldn't it be "it is safe.. directly."?