0

What does == mean?

I forgot what == means, does it mean not equal to?

15th Jul 2020, 6:23 PM
A.13S.
4 Answers
+ 1
example 1 == 1 this means that one is equal to one and the opposite way for this command is 1 != 2 this means that one is not equal to two...
15th Jul 2020, 9:12 PM
Garnik Pepelyan
Garnik Pepelyan - avatar
+ 2
= is for assignment == is for evaluation of equality
15th Jul 2020, 7:02 PM
benjamin
0
It's a compare operator. It does type coercion
20th Feb 2021, 2:21 AM
Odudu Inyangudoh
Odudu Inyangudoh - avatar