Binary Operator "!="

QuantScript's binary inequality

!=
operator implements value inequality checks.

Examples:

1 5 != 2 # -> true
2 5 != 5 # -> false
3 Friday != Monday # -> true
4 Friday != Friday # -> false
5 13:37 != 12:00 # -> true
6 13:37 != 13:37 # -> false
7 4 != 3 != 2 # -> unknown

Table of Operands

Anything not listed here results in an Unknown.
This operator is commutative -

x != y
is the same as
y != x
.
This operator is type-commutative - the type of
x != y
is the same as the type of
y != x
.
This operator is left associative -
x != y != z
is the same as
(x != y) != z
.

Left OperandOperatorRight OperandResult
Number!=NumberBoolean
Number!=Series<Number>Series<Boolean>
Number!=MultiDataset<Number>MultiDataset<Boolean>
Day!=DayBoolean
Day!=Series<Day>Series<Boolean>
Day!=MultiDataset<Day>MultiDataset<Boolean>
Time!=TimeBoolean
Time!=Series<Time>Series<Boolean>
Time!=MultiDataset<Time>MultiDataset<Boolean>