1.0.2 • Published 6 years ago

intuitive-array-handlers v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Heads Up!

The 'modify' directory contains functions that modify the array passed into them. The 'no_modify' directory contains functions that do not.

Any of the functions that ask you to provide an array index as argument will allow negative numbers as indexes, unless they say otherwise in their comments.

Many of the functions in this directory work perfectly with arrays containing objects, but there are many that do not. Those that do not are commented accordingly to warn you.

Parameter conventions: In all the functions, the array to be checked/modified/sampled/whatever is always the last parameter, with the one exception of getIndexOfPrimitive(), which has an optional third parameter, startingPosition.

Functions that begin with an underscore: These weren't intended to be called outside of this library. If you still want to call them, you can, but I don't know why you would.