+ 2

What is == means???

I am new to this coding, not only that but also i am mechanical engineer, so not good with coding

26th May 2021, 5:10 AM
DHULIPUDI SAI SIVA KUMAR
DHULIPUDI SAI SIVA KUMAR - avatar
4 ответов
+ 4
== is an logic operator and it is requesting a boolean it should not be confused with = which is used to for example set a value to a variable. You can use == to set a condition like already described from the other comments. So it is used for testing if to values are equal(works for each datatype).
26th May 2021, 5:11 AM
NEZ
NEZ - avatar
+ 3
== is equality operator . It returns true if it's both sides operand are equal and false if not . 2==2 //true 3==4 //false
26th May 2021, 5:12 AM
TOLUENE
TOLUENE - avatar
+ 1
Awesome guys the answers I am getting is quick then WhatsApp replies 😃😃😃
26th May 2021, 5:14 AM
DHULIPUDI SAI SIVA KUMAR
DHULIPUDI SAI SIVA KUMAR - avatar