is_it_odd
A Dart package to check if a given integer is odd.
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
Usage
import 'package:is_it_odd/is_it_odd.dart';
void main() {
print(isOdd(3)); // true
print(isOdd(4)); // false
}
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.