MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / isEven

Function isEven

project_euler_problems/10001st prime/solution.js:5–7  ·  view source on GitHub ↗
(nb)

Source from the content-addressed store, hash-verified

3 */
4
5function isEven(nb) {
6 return nb % 2 === 0;
7}
8
9/*
10 ** A prime number is a number that can only be divisible by 1 or itself

Callers 1

isPrimeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected