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

Function isCaptureTarget

integrations/clipper/src/api.ts:126–128  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

124}
125
126export function isCaptureTarget(value: unknown): value is CaptureTarget {
127 return value === 'code' || value === 'notes' || value === 'http'
128}
129
130function findFirstUrl(text: string): string | undefined {
131 return text.match(/https?:\/\/\S+/)?.[0]

Callers 2

bindEventsFunction · 0.90
getSettingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected