However, I am not lazy, so listen me.
In most programming languages, the operator "==" compares 2 objects and returns TRUE if they are equal and FALSE otherwise.
For example, in C++:
bool f = 1 == 1; // f will be TRUE
cout << f << endl; // will print 1
bool f = 5 == 1; // f will be FALSE
cout << f << endl; // will print 0
var a = 5
if (a ==5)//result is true so the code is executed
if (a==4)//false is not printed because the code is not executed because a is not equal to 4
Hey == is a comparative operator, which is used to check whether both operands are equal or not. it is different from normal = because it assigns a value to a variable. the output of == will be boolean that is true or false