1 var baseIteratee = require(
'./_baseIteratee'),
2 basePullAt = require(
'./_basePullAt');
32 function remove(array, predicate) {
34 if (!(array && array.length)) {
39 length = array.length;
41 predicate = baseIteratee(predicate, 3);
42 while (++index < length) {
43 var value = array[index];
44 if (predicate(value, index, array)) {
49 basePullAt(array, indexes);
53 module.exports =
remove;