MCPcopy Index your code
hub / github.com/adobe/react-spectrum / matchesNoteFilter

Function matchesNoteFilter

scripts/reportExports.js:212–218  ·  view source on GitHub ↗
(notes, noteFilters)

Source from the content-addressed store, hash-verified

210}
211
212function matchesNoteFilter(notes, noteFilters) {
213 if (noteFilters.length === 0) {
214 return true;
215 }
216
217 return noteFilters.some(filter => notes.some(note => note.includes(filter)));
218}
219
220function formatSpecifierList(specifiers) {
221 return Array.from(specifiers)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected