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

Function demoFile

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

Source from the content-addressed store, hash-verified

345
346/** The demo page's file name, without the query string. */
347export const demoFile = (u: UseCase): string => u.demo.split('?')[0];
348
349/** Demos that are a camera feed rather than a screen. */
350export 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