Logical
Prefix
! [ Precedence 250 ]
Overload | Description |
---|---|
! (v: Bool) -> Bool
|
Negates v
|
! (v: &Bool) -> Bool
|
|
! (v: @Bool) -> Bool
|
Binary
&& [ Precedence 1500 ]
Overload | Description |
---|---|
(a: Bool) && (b: Bool) -> Bool
|
Calculates the logical operation a ∧ b . It short-circuits
|
|| [ Precedence 1550 ]
Overload | Description |
---|---|
(a: Bool) || (b: Bool) -> Bool
|
Calculates the logical operation a ∨ b . It short-circuits
|
^ [ Precedence 390 ]
Overload | Description |
---|---|
(a: Bool) ^ (b: Bool) -> Bool
|
Calculates the logical operation a XOR b
|
< [ Precedence 900 ]
Overload | Description |
---|---|
(a: Int) < (b: Int) -> Bool
|
Calculates whether or not a is lower than b
|
(a: Float) < (b: Float) -> Bool
|
|
(a: Int) < (b: Float) -> Bool
|
|
(a: Float) < (b: Int) -> Bool
|
<= [ Precedence 1000 ]
Overload | Description |
---|---|
(a: Int) <= (b: Int) -> Bool
|
Calculates whether or not a is lower or equal to b
|
(a: Float) <= (b: Float) -> Bool
|
|
(a: Int) <= (b: Float) -> Bool
|
|
(a: Float) <= (b: Int) -> Bool
|
> [ Precedence 950 ]
Overload | Description |
---|---|
(a: Int) > (b: Int) -> Bool
|
Calculates whether or not a is greater than b
|
(a: Float) > (b: Float) -> Bool
|
|
(a: Int) > (b: Float) -> Bool
|
|
(a: Float) > (b: Int) -> Bool
|
>= [ Precedence 1050 ]
Overload | Description |
---|---|
(a: Int) >= (b: Int) -> Bool
|
Calculates whether or not a is greater or equal to b
|
(a: Float) >= (b: Float) -> Bool
|
|
(a: Int) >= (b: Float) -> Bool
|
|
(a: Float) >= (b: Int) -> Bool
|
== [ Precedence 1100 ]
Overload | Description |
---|---|
(a: Int) == (b: Int) -> Bool
|
Calculates whether or not a is equal to b
|
(a: Float) == (b: Float) -> Bool
|
|
(a: Bool) == (b: Bool) -> Bool
|
|
(a: String) == (b: String) -> Bool
|
!= [ Precedence 1150 ]
Overload | Description |
---|---|
(a: Int) != (b: Int) -> Bool
|
Calculates whether or not a is different to b
|
(a: Float) != (b: Float) -> Bool
|
|
(a: Int) != (b: Float) -> Bool
|
|
(a: Float) != (b: Int) -> Bool
|