Comparison

 

 

Operator

Parameter types

Result

x < y

x,y - numeric, string or boolean type values

True if x less then y

x > y

x,y - numeric, string or boolean type values

True if x greater then y

x >= y

x,y - numeric, string or boolean type values

True if x greater or equals then y

x <= y

x,y - numeric, string or boolean type values

True if x less or equals then y

x != y

x,y - numeric, string or boolean type values

True if x not equals y

x = y

x,y - numeric, string or boolean type values

True if x equals y