Last updated:
0 purchases
is even
is_even #
Minimalist and elegant API that returns true if the given number is even.
Usage #
import 'package:is_even/is_even.dart';
isEven(0);
//=> true
isEven(1);
//=> false
isEven(2);
//=> true
isEven(3);
//=> false
copied to clipboard
Disclaimer #
Implementation shamelessly stolen from the JavaScript package is-even
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.