@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.
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
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
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.comA 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
Videos
03:49
PHP Array Functions: Map, Filter & Reduce - Explained for Beginners!
04:19
How to filter an array in PHP - YouTube
04:26
Getting Used To With array_filter() function - In 4 Minutes - YouTube
16:06
Using power automate filter array like a pro - YouTube
11:15
How to Use filter() in JavaScript | Filter Arrays Like a Pro - YouTube
- YouTube
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.
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 ...
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.
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.
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.