code: function omitFromArray(array, paths) {
    let indicesToRemove = [];
  
    const newCollection = reduce(
      (deeplyNestedOmittedCollection, path) => {
        if (path.length > 1) {
          return omitNested(path, deeplyNestedOmittedCollection, true);
        }
  
        indicesToRemove = [...indicesToRemove, ...path[0]];
  
        return deeplyNestedOmittedCollection;
      },
      array,
      paths
    );
  
    return removeIndicesFromArray(indicesToRemove, newCollection);
  }
docs: @function omitFromArray
  
  @description
  remove the items at the paths location from the array
  
  @param {Array<*>} array the array to remove the paths from
  @param {Array<string>} paths the paths to remove
  @returns {Array<*>} the omitted array