MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / includesQuery

Function includesQuery

packages/app-core/src/lib/settings-search.ts:38–40  ·  view source on GitHub ↗
(value: string | undefined, query: string)

Source from the content-addressed store, hash-verified

36 }
37
38function includesQuery(value: string | undefined, query: string): boolean {
39 return value?.toLowerCase().includes(query) ?? false
40}
41
42function itemMatches(item: SettingsSearchItem, query: string): boolean {
43 return (

Callers 2

itemMatchesFunction · 0.85
categoryMatchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected