Created
September 18, 2024 03:47
-
-
Save gyugyu90/888508b2c57ea2b09b3350388cf99ece to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// bool isOdd(int number) { | |
// return number % 1 == 0; | |
// } | |
bool isOdd(int number) => number % 2 == 1; | |
void main() { | |
print(isOdd(3)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment