Boolean Type

QuantScript's Boolean type represents boolean values.

Possible values are

true
and
false
.

Unary Operand Behaviour

Anything not listed here results in an Unknown

OperatorOperandResult
notBooleanBoolean
isknownBooleanBoolean

Binary Operand Behaviour

Anything not listed here results in an Unknown

Left OperandOperatorRight OperandResult
Booleanand, orBooleanBoolean
Booleanand, orMultiDataset<Boolean>MultiDataset<Boolean>
Booleanand, orSeries<Boolean>Series<Boolean>
Boolean[] Time travelAnyBoolean
Boolean() Function callAnyError