Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
"use strict";

const not = require("../conditional/not");

const isOdd = 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
 *
 */


module.exports = not(isOdd);