diff options
Diffstat (limited to 'alarm/node_modules/lodash/_strictIndexOf.js')
-rw-r--r-- | alarm/node_modules/lodash/_strictIndexOf.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/alarm/node_modules/lodash/_strictIndexOf.js b/alarm/node_modules/lodash/_strictIndexOf.js deleted file mode 100644 index 0486a49..0000000 --- a/alarm/node_modules/lodash/_strictIndexOf.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * A specialized version of `_.indexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function strictIndexOf(array, value, fromIndex) { - var index = fromIndex - 1, - length = array.length; - - while (++index < length) { - if (array[index] === value) { - return index; - } - } - return -1; -} - -module.exports = strictIndexOf; |