Skip to content

Logical

Prefix

! [ Precedence 250 ]

Overload Description
! (v: Bool) -> Bool Negates v
! (v: &Bool) -> Bool
! (v: @Bool) -> Bool

Binary

&& [ Precedence 1500 ]

Overload Description

All reference combinations are defined

(a: Bool) && (b: Bool) -> Bool
Calculates the logical operation ab. It short-circuits

|| [ Precedence 1550 ]

Overload Description

All reference combinations are defined

(a: Bool) || (b: Bool) -> Bool
Calculates the logical operation ab. It short-circuits

^ [ Precedence 390 ]

Overload Description

All reference combinations are defined

(a: Bool) ^ (b: Bool) -> Bool
Calculates the logical operation a XOR b

< [ Precedence 900 ]

Overload Description

All reference combinations are defined

(a: Int) < (b: Int) -> Bool
Calculates whether or not a is lower than b

All reference combinations are defined

(a: Float) < (b: Float) -> Bool

All reference combinations are defined

(a: Int) < (b: Float) -> Bool

All reference combinations are defined

(a: Float) < (b: Int) -> Bool

<= [ Precedence 1000 ]

Overload Description

All reference combinations are defined

(a: Int) <= (b: Int) -> Bool
Calculates whether or not a is lower or equal to b

All reference combinations are defined

(a: Float) <= (b: Float) -> Bool

All reference combinations are defined

(a: Int) <= (b: Float) -> Bool

All reference combinations are defined

(a: Float) <= (b: Int) -> Bool

> [ Precedence 950 ]

Overload Description

All reference combinations are defined

(a: Int) > (b: Int) -> Bool
Calculates whether or not a is greater than b

All reference combinations are defined

(a: Float) > (b: Float) -> Bool

All reference combinations are defined

(a: Int) > (b: Float) -> Bool

All reference combinations are defined

(a: Float) > (b: Int) -> Bool

>= [ Precedence 1050 ]

Overload Description

All reference combinations are defined

(a: Int) >= (b: Int) -> Bool
Calculates whether or not a is greater or equal to b

All reference combinations are defined

(a: Float) >= (b: Float) -> Bool

All reference combinations are defined

(a: Int) >= (b: Float) -> Bool

All reference combinations are defined

(a: Float) >= (b: Int) -> Bool

== [ Precedence 1100 ]

Overload Description

All reference combinations are defined

(a: Int) == (b: Int) -> Bool
Calculates whether or not a is equal to b

All reference combinations are defined

(a: Float) == (b: Float) -> Bool

All reference combinations are defined

(a: Bool) == (b: Bool) -> Bool

All reference combinations are defined

(a: String) == (b: String) -> Bool

!= [ Precedence 1150 ]

Overload Description

All reference combinations are defined

(a: Int) != (b: Int) -> Bool
Calculates whether or not a is different to b

All reference combinations are defined

(a: Float) != (b: Float) -> Bool

All reference combinations are defined

(a: Int) != (b: Float) -> Bool

All reference combinations are defined

(a: Float) != (b: Int) -> Bool