Binary Operator "<"

QuantScript's binary less than

<
operator implements value comparisons.

Examples:

1 5 < 2 # -> false
2 5 < 5 # -> false
3 Friday < Monday # -> false
4 Sunday < Saturday # -> true
5 13:37 < 12:00 # -> false
6 00:00 < 23:59 # -> true
7 4 < 3 < 2 # -> unknown

Table of Operands

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

x < y
is not always 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>