is_it_odd 1.0.1 copy "is_it_odd: ^1.0.1" to clipboard
is_it_odd: ^1.0.1 copied to clipboard

A Dart package to check if a given integer is 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.

2
likes
130
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

2024.07.06 - 2025.01.18

A Dart package to check if a given integer is odd

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on is_it_odd