When the 格助詞（かくじょし） に
is combined with the noun 違（ちが）い ‘difference’, and the い-Adjective
ない, an expression similar to ‘there is no doubt that (A)’, or ‘I’m sure that (A)’ is created.
may be used with any verbs, い-Adjectives
or nouns in their plain form.
There is no doubt that they will muck around once the teacher has gone.
If you say that it is good, I have no doubt that it is.
Takana-kun is not eating his food at all. There is no doubt that he does not like it.
There’s no doubt that the doorbell I just heard must have been a prank by the neighbor's kid.
is marking the preceding word in this expression as an existing location (or state), 違（ちが）いない is stating that no ‘variance’ exists within that state. This means that the literal translation of に違（ちが）いない
is close to ‘there is no discrepancy in (A)’.
It should be noted that 違（ちが）いない is a combination of a noun and an い-Adjective, and not the negative form of the う - Verb 違（ちが）う, which would be 違（ちが）わない. 違（ちが）いない translates as ‘there is no difference’, while 違（ちが）わない would translate as ‘it is not different’.