MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / stringValue

Function stringValue

projects/openade-module/src/yjsMutation.ts:234–236  ·  view source on GitHub ↗
(value: unknown, fallback = "")

Source from the content-addressed store, hash-verified

232}
233
234function stringValue(value: unknown, fallback = ""): string {
235 return typeof value === "string" ? value : fallback
236}
237
238function assertTaskMeta(meta: Y.Map<unknown>, taskId: string): void {
239 const metaId = meta.get("id")

Callers 6

getEventPreviewFunction · 0.70
syncTaskMetadataPreviewFunction · 0.70
syncActionEventPreviewFunction · 0.70
errorActionEventFunction · 0.70
stoppedActionEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected