updated to darker color

This commit is contained in:
christianbraeunlich 2022-03-26 09:01:43 +01:00
parent bd7ea0e118
commit ccdaa1e08e
20 changed files with 57 additions and 57 deletions

View file

@ -9,25 +9,25 @@ _Created by Microsoft, Described by waldo_
## Description
Do not use `true` or `false` keywords unnecessarily if the expression is already an logical expression.
## <span style="color:red">Bad code</span>
## <span style="color:FireBrick">Bad code</span>
```al
if IsPositive() = true then
```
## <span style="color:lime">Good code</span>
## <span style="color:ForestGreen">Good code</span>
```al
if IsPositive() then
```
## <span style="color:red">Bad code</span>
## <span style="color:FireBrick">Bad code</span>
```al
if Complete <> true then
```
## <span style="color:lime">Good code</span>
## <span style="color:ForestGreen">Good code</span>
```al
if not Complete then