Comparing version 0.5.3 to 0.5.4
@@ -8,2 +8,9 @@ "use strict"; | ||
/** | ||
* Return true if the value is unique in the array | ||
* @param value | ||
* @param index | ||
* @param array | ||
* @returns {boolean} | ||
*/ | ||
function isUniqueInArray(value, index, array) { | ||
@@ -13,2 +20,7 @@ return array.indexOf(value) === index; | ||
/** | ||
* Filter the array by unique entities | ||
* @param array | ||
* @returns {Array.<mixed>} | ||
*/ | ||
function arrayUnique(array) { | ||
@@ -15,0 +27,0 @@ return array.filter(isUniqueInArray); |
{ | ||
"name": "evojs", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Standard Environment-Free Toolbelt for JS Developers at Evosphere", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124699
56
1101