score:0

filteredItemsArrayState.filter(s => {
            if (searchInputTitle.length === 0)
              return true
            else
              return s.Title.toLowerCase().match(searchInputTitle.toLowerCase())
            }).map(....)

Related Query

More Query from same tag