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

Function isDatabaseTabPath

packages/shared-domain/src/databases.ts:236–238  ·  view source on GitHub ↗
(path: string | null | undefined)

Source from the content-addressed store, hash-verified

234}
235
236export function isDatabaseTabPath(path: string | null | undefined): boolean {
237 return typeof path === 'string' && path.startsWith(DATABASE_TAB_PREFIX)
238}
239
240export function csvPathFromDatabaseTab(path: string | null | undefined): string | null {
241 if (!path || !isDatabaseTabPath(path)) return null

Callers 4

isDatabaseSurfaceTabPathFunction · 0.90
EditorPaneFunction · 0.90
csvPathFromDatabaseTabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected