(univ)
| 62 | univ.fullName.toLowerCase().includes(searchTerm) |
| 63 | ); |
| 64 | const matchesRegion = (univ) => ( |
| 65 | !filters.r || filters.r.some(region => univ.region.includes(region)) |
| 66 | ); |
| 67 | const emptyUniversityMatches = new Set(); |
| 68 | const searchPrograms = Object.keys(programs).reduce((matchingPrograms, univName) => { |
| 69 | const fullNameResults = (univAbbrFullNameMapping[univName] ?? '').toLowerCase().includes(searchTerm); |