UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

12 lines (11 loc) 388 B
export default arrayFilter; /** * A specialized version of `filter` for arrays without support for * iteratee shorthands. * * @private * @param {Array} [array] The array to iterate over. * @param {Function} predicate The function invoked per iteration. * @returns {Array} Returns the new filtered array. */ declare function arrayFilter(array?: any[], predicate: Function): any[];