MCPcopy Create free account
hub / github.com/npmx-dev/npmx.dev / hasSearchOperators

Function hasSearchOperators

app/composables/useStructuredFilters.ts:95–97  ·  view source on GitHub ↗
(parsed: ParsedSearchOperators)

Source from the content-addressed store, hash-verified

93 * Check if parsed operators has any content
94 */
95export function hasSearchOperators(parsed: ParsedSearchOperators): boolean {
96 return !!(parsed.name?.length || parsed.description?.length || parsed.keywords?.length)
97}
98
99/**
100 * Remove a keyword from a search query string.

Callers 2

matchesTextFilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected