dist/getIndexesOfArray.js
function getIndexesOfArray(arrayToSearchFor, arrayToSearchInside) {
    errorIfNotArray_1.errorIfNotArray(arrayToSearchFor);
    error_if_not_populated_array_1.errorIfNotPopulatedArray(arrayToSearchInside);
    var indexes = [];
    arrayToSearchInside.filter(function (value, index) {
        if (isArray_notArray_1.isArray(value) && arrays_match_1.arraysMatch(value, arrayToSearchFor)) {
            indexes.push(index);
            return true;
        }
        else
            return false;
    });
    return indexes;
}
function getIndexesOfArray(arrayToSearchFor, arrayToSearchInside) {
    errorIfNotArray_1.errorIfNotArray(arrayToSearchFor);
    error_if_not_populated_array_1.errorIfNotPopulatedArray(arrayToSearchInside);
    var indexes = [];
    arrayToSearchInside.filter(function (value, index) {
        if (isArray_notArray_1.isArray(value) && arrays_match_1.arraysMatch(value, arrayToSearchFor)) {
            indexes.push(index);
            return true;
        }
        else
            return false;
    });
    return indexes;
}
returns empty [] if arrayToSearchFor isn't found. if arrayToSearchFor contains objects, this will always return empty array.