Lines Matching refs:matcher
289 function find(collection, matcher) { argument
290 matcher = toMatcher(matcher);
293 if (matcher(val, key)) {
309 function findIndex(collection, matcher) { argument
310 matcher = toMatcher(matcher);
313 if (matcher(val, key)) {
329 function filter(collection, matcher) { argument
332 if (matcher(val, key)) {
377 function without(arr, matcher) { argument
383 matcher = toMatcher(matcher);
385 return !matcher(el, idx);
414 function every(collection, matcher) { argument
416 return matches && matcher(val, key);
429 function some(collection, matcher) { argument
430 return !!find(collection, matcher);
588 function toMatcher(matcher) { argument
589 return isFunction(matcher) ? matcher : function (e) {
590 return e === matcher;