MCPcopy Index your code
hub / github.com/massCodeIO/massCode / isCaptureTarget

Function isCaptureTarget

integrations/clipper/src/background.ts:103–105  ·  view source on GitHub ↗
(value: string | number)

Source from the content-addressed store, hash-verified

101}
102
103function isCaptureTarget(value: string | number): value is CaptureTarget {
104 return value === 'code' || value === 'notes' || value === 'http'
105}
106
107function getErrorMessage(error: unknown): string {
108 return error instanceof Error ? error.message : 'Unknown error'

Callers 1

background.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected