We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d53f0 commit d01b470Copy full SHA for d01b470
index.js
@@ -94,7 +94,7 @@ function get_all_indexes(arr, val) {
94
}
95
96
function search_in_array(query,array) {
97
- return array.filter(item => item.search(query) !== -1)
+ return array.filter(item => item.toLowerCase().search(query.toLowerCase()) !== -1)
98
99
100
export {
0 commit comments