Array prototype Extender.
isArray(objToTest)
Test an object to be an array
var isiArray = require( 'isi-array' );
var obj1 = undefined;
var obj2 = 'tst';
var obj3 = [];
isiArray.isArray(obj1);
// -> false
isiArray.isArray(obj2);
// -> false
isiArray.isArray(obj3);
// -> true
isFunction(objToTest)
Test an object to be a function
var isiArray = require( 'isi-array' );
isiArray.isFunction(undefined);
// -> false
isiArray.isFunction({});
// -> false
isiArray.isFunction(() => {});
// -> true
isString(objToTest)
Test an object to be a string
var isiArray = require( 'isi-array' );
isiArray.isString(undefined);
// -> false
isiArray.isString({});
// -> false
isiArray.isString("string to test");
// -> true
firstOrDefault(conditionFunc)
// NEED TO BE DOCUMENTED
each(repeatFunc)
// NEED TO BE DOCUMENTED
take(amount)
// NEED TO BE DOCUMENTED
skip(amount)
// NEED TO BE DOCUMENTED
filter(filterFunc)
// NEED TO BE DOCUMENTED
groupBy(filterOrPropertyName, skipUndefined = false)
// NEED TO BE DOCUMENTED
shuffle()
// NEED TO BE DOCUMENTED
notIn()
// NEED TO BE DOCUMENTED
.contains(objectOrArray)
[1,2,3].contains(5)
// -> false
[1,2,3].contains(2)
// -> true
[1,2,3].contains([5, 8, 9])
// -> false
[1,2,3].contains([9])
// -> false
[1,2,3].contains([1])
// -> true
[1,2,3].contains([1, 2, 3])
// -> true
pushRange(arr)
// NEED TO BE DOCUMENTED
count([condition])
// NEED TO BE DOCUMENTED