A starting point for Dart libraries or applications.
More...
Minimalist and elegant API that returns true if the given number is odd.
true
import 'package:is_odd/is_odd.dart'; isOdd(0); //=> false isOdd(1); //=> true isOdd(2); //=> false isOdd(3); //=> true
Implementation shamelessly stolen from the JavaScript package is-odd
unverified uploader
Repository (GitHub)View/report issues
API reference
MIT (LICENSE)
Packages that depend on is_odd
Back