MCPcopy Create free account
hub / github.com/Roy3838/Observer / demoFile

Function demoFile

app/src/utils/groundTruth.ts:283–283  ·  view source on GitHub ↗
(u: UseCase)

Source from the content-addressed store, hash-verified

281
282/** The demo page's file name, without the query string. */
283export const demoFile = (u: UseCase): string => u.demo.split('?')[0];
284
285/** Demos that are a camera feed rather than a screen. */
286export const isCameraDemo = (u: UseCase): boolean => demoFile(u).startsWith('camera_');

Callers 2

tutorialDemos.tsFile · 0.90
isCameraDemoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected