Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-even

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-even

Return true if the given number is even.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
163K
increased by17.69%
Maintainers
2
Weekly downloads
 
Created

What is is-even?

The is-even npm package is a simple utility that allows you to check if a number is even. It is useful for basic numerical validations and can be easily integrated into larger projects where such checks are necessary.

What are is-even's main functionalities?

Check if a number is even

This feature allows you to check if a given number is even. The function returns true if the number is even and false if it is not.

const isEven = require('is-even');

console.log(isEven(4)); // true
console.log(isEven(3)); // false

Other packages similar to is-even

Keywords

FAQs

Package last updated on 27 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc