@EnigmaXXIII Welcome to the community. First of all, it’s always very helpfull to share screenshots. This gives a lot of context. Anyway, yes the map() function only searches for very specific searchterm. What I could recommend is the following: Iterate over your array Use a filter to only conti… Answer from Bjorn.drivn on community.make.com
🌐
DEV Community
dev.to › oculus42 › javascript-arrays-filter-4fe5
JavaScript Arrays: Filter - DEV Community
January 24, 2025 - The .filter() function takes a predicate – a function that returns true or false. In .map() we get the return value of the mapper function; with .filter() we use the return value of the predicate to determine if the value will appear in the new result array.
🌐
Yogesh Chavan
blog.yogeshchavan.dev › a-complete-introduction-to-javascript-array-filter-method
A Complete Introduction to JavaScript Array filter Method
July 29, 2021 - The filter method returns an array containing only those elements for which the callback function returns a true value. You can see the current value of the element that is passed to the callback function in each iteration of the loop If you ...
Discussions

How do I implement a fast way to filter a large array of 20k objects?
I’m building an Ionic app. The app contains an array of 20k “word” objects with the word and pronunciation. This data is all local and is used via a service. There’s a search page with a search input that on keydown makes a new search request and updates the “DOM.” The time it takes ... More on forum.ionicframework.com
🌐 forum.ionicframework.com
0
February 2, 2018
Filter an item in array if it includes search term (contains) & only get first match
Hi, I’m looking for a bit of help. I am trying to get a single value from an array if the item includes a search trem. Note, it does not have to be exactly equal to, but should contain the variable. I have the followin… More on community.make.com
🌐 community.make.com
1
0
February 6, 2023
Filter pipe for multiple fields with nested array

you need to iterate over the listOfItems array from within the filter function - find will do it for you. i can't remember the exact syntax for pipes off the top of my head but here's a function that should do what you want:

specialSearch(obj) {
    myArray.filter(entry => {
        return entry.name === obj.name && entry.listOfItems.find(item => item.description === obj.description);
    });
}

so we only allow entries in the top-level array that both have a name matching the name we input, but we must also find an item in listOfItems that has a description matching the description we input.

More on reddit.com
🌐 r/Angular2
3
1
October 10, 2016
A slightly faster array filter
I see that you have moved away from searching for 'w', but I was wondering if you were only focused only on the 'Where' capabilities? On my system (PowerShell 5.1) this seems to go faster than your 'Where' and 'Class' examples measure-command { foreach ($i in 0..1kb) { foreach($item in $files){if([char]$item.Name[0] -match 'w') {$item}} } } | Select-Object -ExpandProperty TotalMilliseconds Your example times on my system (far fewer 'w' files than you): 303.2 265.6 My example 189.2 More on reddit.com
🌐 r/PowerShell
11
9
December 14, 2018
🌐
JavaScript in Plain English
javascript.plainenglish.io › javascript-filtering-arrays-filter-method-ac582e4594e2
JavaScript: Filtering Arrays with the Filter() Method | by Oleg Ivanov | JavaScript in Plain English
August 27, 2021 - You are given an array of strings and need to return a new array of strings, where each element / or string is more than 6 letters. The method Filter () is called on the array / words and returns the new array of elements, each more than 6.
🌐
daily.dev
daily.dev › home › blog › get into tech › filter arrays in javascript: a primer
Filter Arrays in JavaScript: A Primer
December 22, 2025 - Looking to sift through your JavaScript arrays and pull out only what you need? The filter() function is your go-to tool.
🌐
freeCodeCamp
freecodecamp.org › news › javascript-filter-method
How the JavaScript Filter Method Works – Explained with Code Examples
February 15, 2024 - The filter method in JavaScript is designed as a higher-order function that iterates over each element of an array, allowing developers to apply a specific condition to filter out elements.
🌐
Mimo
mimo.org › glossary › javascript › filter
Master JavaScript Filter Operator: Apply Filter Arrays
The JavaScript filter() method creates a new array with all elements that pass the test implemented by the provided function.
Find elsewhere
🌐
Ionic Framework
forum.ionicframework.com › ionic framework › ionic-v3
How do I implement a fast way to filter a large array of 20k objects? - ionic-v3 - Ionic Forum
February 2, 2018 - I’m building an Ionic app. The app contains an array of 20k “word” objects with the word and pronunciation. This data is all local and is used via a service. There’s a search page with a search input that on keydown makes a new search request and updates the “DOM.” The time it takes ...
🌐
Mike Bifulco
mikebifulco.com › home › javascript tips: using array.filter(boolean)
JavaScript Tips: Using Array.filter(Boolean) | Mike Bifulco
November 12, 2021 - If you come across array.filter(Boolean) in JavaScript code, never fear! It's a handy bit of functional programming that cleans up arrays with null and undefined values in them.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › javascript-array-filter-method
JavaScript Array filter() Method - GeeksforGeeks
The filter() method creates a new array containing elements that satisfy a specified condition.
Published   January 10, 2025
🌐
Esdiscuss
esdiscuss.org › topic › array-filter-max-number-of-matches
Array.filter: max number of matches?
Definitely, but it works without the slice(), too: var filtereds, items, limit, k; items = new Array(1000).join("-").split(""); limit = 3; k = 0; filtereds = items.filter(function( val, i, orig ) { if ( true ) { if ( ++k === limit ) { orig.length = 0; } return true; } }); console.log( filtereds ); // [ '-', '-', '-' ] Rick > > > /be > > > ______________________________**_________________ > es-discuss mailing list > es-discuss at mozilla.org > https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss> > -------------- next part -------------- An HTML attachment was scrubbed...
🌐
Codecademy
codecademy.com › docs › javascript › arrays › .filter()
JavaScript | Arrays | .filter() | Codecademy
July 29, 2025 - JavaScript’s array.filter() method creates a new array containing only the elements from the original array that pass a test implemented by a provided function.
🌐
React
react.dev › learn › rendering-lists
Rendering Lists – React
You can use JavaScript’s filter() method to return just those people. This method takes an array of items, passes them through a “test” (a function that returns true or false), and returns a new array of only those items that passed the test (returned true).
🌐
Medium
medium.com › @cristi.nord › javascript-array-filter-method-f3d3e5d3af7d
JavaScript Array .filter() Method | by Sanje Qi | Medium
July 7, 2019 - The filter() method returns an array containing elements of the parent array that match the set test. A function containing a test is passed as an argument to the filter method.
🌐
Adripofjavascript
adripofjavascript.com › blog › drips › filtering-arrays-with-array-filter.html
Filtering Arrays with Array#filter
This allows you to create more complex filters that depend on the element's relationship with other elements, or the array as a whole.
🌐
Microsoft Community
techcommunity.microsoft.com › microsoft community hub › communities › products › microsoft 365 › excel
Filter array based on other filtered array as a lookup value | Microsoft Community Hub
September 9, 2023 - I have a list of schools that each have a unique ID number, and which I've associated together thanks to group numbers (so group 1 is three schools, with a unique ID number for each). So if I want to pull the schools which pertain to group 1 only, I'll filter that array and get those three schools' ID numbers.
🌐
Better Programming
betterprogramming.pub › performance-analysis-of-javascript-array-prototype-filter-616e3e3d316f
A Performance Analysis of JavaScript's Array.prototype.filter
March 14, 2023 - A Performance Analysis of JavaScript’s Array.prototype.filter Diving deep into this powerful feature Filter has all the caveats of “some”, but it will always iterate over the entire array …
🌐
Vultr Docs
docs.vultr.com › javascript › standard-library › Array › filter
JavaScript Array filter() - Filter Array Elements | Vultr Docs
November 28, 2024 - This method provides an efficient way to sift through arrays and select only those elements which meet the criteria you define, all without altering the original array. In this article, you will learn how to utilize the filter() function to selectively process and manipulate array data.
🌐
MDN
mdn2.netlify.app › en-us › docs › web › javascript › reference › global_objects › array › filter
Array.prototype.filter() - JavaScript | MDN
If no elements pass the test, an empty array will be returned. filter() calls a provided callbackFn function once for each element in an array, and constructs a new array of all the values for which callbackFn returns a value that coerces to true.
🌐
Quora
quora.com › How-does-the-Array-filter-in-Javascript-work-I-have-been-going-through-lots-of-websites-and-stack-overflow-but-they-arent-in-depth-enough
How does the Array.filter () in Javascript work? I have been going through lots of websites and stack overflow but they aren't in depth enough. - Quora
Answer (1 of 3): In reality it’s implemented in native code (C++), but here’s how it looks like conceptually (omitting details like the fact that it also sends you the current index and stuff): [code]let myFilter = function (arr, pred) { let res = []; for (let i = 0; i