4.5. Comparison functions #

4.5.1. eq()
4.5.2. ge()
4.5.3. gt()
4.5.4. le()
4.5.5. lt()
4.5.6. ne()

4.5.1. eq() #

Equal. It takes two operands of the same type: numeric, string or datetime. The result is numeric value 1 or 0, if the two operands are equal or non-equal, respectively. The operators = and == are shortcuts for this function.

4.5.2. ge() #

Greater-or-equal. It takes two operands of the same type, which can be either numeric, string or datetime. The operator >= is a shortcut for this function.

4.5.3. gt() #

Greater-than. It takes two operands of the same type, which can be either numeric, string or datetime. The operator > is a shortcut for this function.

4.5.4. le() #

Less-or-equal. It takes two operands of the same type, which can be either numeric, string or datetime. The operator <= is a shortcut for this function.

4.5.5. lt() #

Less-than. It takes two operands of the same type, which can be either numeric, string or datetime. The operator < is a shortcut for this function.

4.5.6. ne() #

Not equal. It takes two operands of the same type, which can be either numeric, string or datetime. The operator != and <> are shortcuts for this function.