mirror of
https://github.com/Pagwin-Fedora/website.git
synced 2025-07-18 04:45:41 +00:00
fixed shitty indent in rut enums article
This commit is contained in:
parent
4b6edd0347
commit
ad1452b89a
1 changed files with 5 additions and 5 deletions
|
@ -14,13 +14,13 @@ As the description of this article says I wrote this to try and probably fail to
|
|||
```dart
|
||||
String anything(Object something) {
|
||||
if(something is bool){
|
||||
if(something) return "fizz";
|
||||
return "buzz";
|
||||
if(something) return "fizz";
|
||||
return "buzz";
|
||||
}
|
||||
if(something is int){
|
||||
if(something < 10) return "smol";
|
||||
if(something < 20) return "Mcdonald's medium";
|
||||
return "LARGE";
|
||||
if(something < 10) return "smol";
|
||||
if(something < 20) return "Mcdonald's medium";
|
||||
return "LARGE";
|
||||
}
|
||||
return "$something";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue