Comparison Operators

suggest change

Operator | Description | —— | —— |== | true if the two values are equal. |!= | true if the two values are not equal. |\< | true if the value of the operand on the left is less than the value on the right. |\> | true if the value of the operand on the left is greater than the value on the right. |>= | true if the value of the operand on the left is greater than or equal to the value on the right.<= | true if the value of the operand on the left is less than or equal to the value on the right.<=> | 0 if the value of the operand on the left is equal to the value on the right,1 if the value of the operand on the left is greater than the value on the right,-1 if the value of the operand on the left is less than the value on the right.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents