良かった vs 良かったじゃない


When I watch an anime, the character to use 良かったじゃない to say something is good,
but isn't the word じゃない be a negative expression? Why would it still have the
same meaning as 良かった which is the positive version of it?

