While Nikon is heavily investing in their mirrorless Z series cameras and lenses, which are seen as the future of photography, they have not explicitly said they are discontinuing DSLRs altogether.
Therefore, the situation is somewhat ambiguous. It's likely that Nikon is shifting its focus and resources towards mirrorless technology, but the extent to which they will continue developing new DSLRs remains uncertain.