Last updated:
0 purchases
is it odd
is_it_odd #
A Dart package to check if a given integer is odd.
Github
Features #
Quickly determine if an integer is odd.
Simple and lightweight.
Getting Started #
Installation #
Add is_it_odd to your pubspec.yaml file:
dependencies:
is_it_odd: ^1.0.0
copied to clipboard
Usage #
import 'package:is_it_odd/is_it_odd.dart';
void main() {
print(isOdd(3)); // true
print(isOdd(4)); // false
}
copied to clipboard
Additional Information #
The isOdd function returns true if the provided integer is odd, and false otherwise.
Contributing #
Contributions are welcome! Please open an issue or pull request on GitHub.
License #
This project is licensed under the MIT License - see the LICENSE file for details.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.