315-npm-js
v1.0.2
Published
This is a test project for cmpt 315 at MacEwan University
Downloads
11
Readme
Checks for even/odd numbers
A short description
Purpose
**BEWARE: This library was published for learning purposes. It is not int Describe the intended intent
Usage
Install it:
npm install @ifesunmola/npm-js
Require it:
const _ = require('@ifesunmola/npm-js');
Call it:
const results = _.firstFunction()
Documentation
The following functions are currently implemented:
isEven(num: int)
: return true if a number is even, false otherwiseisOdd(num: int)
: returns true if a number is odd, false otherwise