Relational Operators

 

SPL supports the following relational and logical operators and functions:

 

Operator

Function

Description

<

lesser

less than

<=

lessereq

less than or equal

>

greater

greater than

>=

greatereq

greater than or equal

==

equal

Equal

!=

noteq

not equal

&&

and

logical and

||

or

logical or

!

not

logical not

 

xor

exclusive or

%

mod

Modulo