Comparison operators

In Deliver scripts, you can use various comparison operators to compare numbers, strings, and Boolean values.

The following sections describe the various comparison operators.

Numbers

To compare numbers, use the following operators.

= or == equal

!= not equal

> greater than

<= greater than or equal to

< less than

<= less than or equal to

Strings

To compare strings, use the following operators.

= or == equal

!= not equal

Boolean values

To compare Boolean values, use the following operators.

= or == equal

!= not equal

! not For example, for the expression !(accountType=="Gold") The account type is not Gold.