# @conlan2/cmpt315a2
The second assignment in the cmpt 315 course. This assignment is about learning javascript
## Purpose
**_BEWARE:_ This library was published for learning purposes.
## Usage
**Install it:**
`npm install @conlan2/cmpt315a2'
**Require it:**
`const _ = require('@conlan2/cmpt315a2');`
**Call it:**
`const results = _.findNaNIndex(array)`
## Documentation
The following functions are currently implemented:
* `findNaNIndex(array)`: find the indices of NaN elements in the inputted array
* `isArrayFactorChain(array)`: returns True or false if the array is a chain of factors.
* `countNumberOfArrays(array)`: finds the number of arrays within an array, does not count recursive arrays.
* `participants(array)`: finds what the participants were in a array of matches
* `biggestLoser(array)`: finds who in a list of the matches was the "biggest loser"
* `winnersObject(array)`: finds who beat each other and returns an object of them
@conlan2/cmpt315as2
1.0.6 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @conlan2/cmpt315as2
Weekly Downloads
1
Version
1.0.6
License
ISC
Unpacked Size
11.7 kB
Total Files
10