Repository URL to install this package:
|
Version:
6.0.4 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var not_1 = require("../conditional/not");
var odd_1 = require("./odd");
/**
* @name isEven
* @desc isEven
* @param {number | any} x value to check
* @return {boolean} isEven
*
* @extends isOdd
* @variations inverse
*
* @example
*
* isEven(1)
* //=> false
* isEven(2)
* //=> true
*
* var rando = Math.floor(Math.random(0, 10000))
* isEven(rando) !== isOdd(rando)
* //=> true
*
*/
exports.default = not_1.default(odd_1.default);
//# sourceMappingURL=even.js.map